Skip to content

Commit 5026203

Browse files
committed
better python formating
1 parent c63239b commit 5026203

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

MTM/NMS.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,12 @@ def NMS(tableHit, scoreThreshold=0, sortAscending=False, N_object=float("inf"),
7777

7878
if __name__ == "__main__":
7979
import pandas as pd
80-
ListHit =[
80+
listHit =[
8181
{'TemplateName':1,'BBox':(780, 350, 700, 480), 'Score':0.8},
8282
{'TemplateName':1,'BBox':(806, 416, 716, 442), 'Score':0.6},
8383
{'TemplateName':1,'BBox':(1074, 530, 680, 390), 'Score':0.4}
8484
]
8585

86-
FinalHits = NMS( pd.DataFrame(ListHit), scoreThreshold=0.61, sortAscending=False, maxOverlap=0.8, N_object=1 )
86+
finalHits = NMS( pd.DataFrame(listHit), scoreThreshold=0.61, sortAscending=False, maxOverlap=0.8, N_object=1 )
8787

88-
print(FinalHits)
88+
print(finalHits)

0 commit comments

Comments
 (0)