Skip to content

Commit

Permalink
change line_thickness since dilate will err if ksize=1
Browse files Browse the repository at this point in the history
  • Loading branch information
HaleySchuhl committed Aug 15, 2024
1 parent 7b9bf97 commit da974e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plantcv/annotate/classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ def correct_mask(self, bin_img):
# Write ID labels
for id, id_label in enumerate(debug_labels):
cv2.putText(img=debug_img, text=id_label, org=debug_coords[id], fontFace=cv2.FONT_HERSHEY_SIMPLEX,
fontScale=params.text_size, color=(150, 150, 150), thickness=params.text_thickness)
fontScale=params.text_size, color=(150, 150, 150), thickness=(params.text_thickness+2))
params.debug = debug
# _debug(visual=final_mask,
# filename=os.path.join(params.debug_outdir,
Expand Down

0 comments on commit da974e0

Please sign in to comment.