Skip to content

Commit bb0ac36

Browse files
committed
default scoreThreshold 0.5
1 parent 5026203 commit bb0ac36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MTM/NMS.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
import cv2
1515

1616

17-
def NMS(tableHit, scoreThreshold=0, sortAscending=False, N_object=float("inf"), maxOverlap=0.5):
17+
def NMS(tableHit, scoreThreshold=0.5, sortAscending=False, N_object=float("inf"), maxOverlap=0.5):
1818
'''
1919
Perform Non-Maxima supression : it compares the hits after maxima/minima detection, and removes the ones that are too close (too large overlap)
2020
This function works both with an optionnal threshold on the score, and number of detected bbox

0 commit comments

Comments
 (0)