Skip to content

Commit

Permalink
update predict_system.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ynjang committed Jun 17, 2022
1 parent d72329c commit 7862bfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/infer/predict_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def sorted_boxes(dt_boxes):

for i in range(num_boxes - 1):
for j in range(i, 0, -1):
if abs(_boxes[j + 1][0][1] - _boxes[j][0][1]) < 20 and \
if abs(_boxes[j + 1][0][1] - _boxes[j][0][1]) < 10 and \
(_boxes[j + 1][0][0] < _boxes[j][0][0]):
tmp = _boxes[j]
_boxes[j] = _boxes[j + 1]
Expand Down

0 comments on commit 7862bfc

Please sign in to comment.