Skip to content

Commit cceedf9

Browse files
authored
showLabel=False by default
1 parent 6db6c50 commit cceedf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MTM/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def matchTemplates(listTemplates, image, method=cv2.TM_CCOEFF_NORMED, N_object=f
171171
return bestHits
172172

173173

174-
def drawBoxes(image, listHit, boxThickness=2, boxColor=(255, 255, 00), showLabel=True, labelColor=(255, 255, 0) ):
174+
def drawBoxes(image, listHit, boxThickness=2, boxColor=(255, 255, 00), showLabel=False, labelColor=(255, 255, 0) ):
175175
'''
176176
Return a copy of the image with predicted template locations as bounding boxes overlaid on the image
177177
The name of the template can also be displayed on top of the bounding box with showLabel=True

0 commit comments

Comments
 (0)