"composable_kernel/include/utility/sequence.hpp" did not exist on "88b77181aab1198b41b612f6d03b6dfb2d32bd40"
Commit 7862bfc7 authored by jyn47's avatar jyn47
Browse files

update predict_system.py

parent d72329ca
...@@ -115,7 +115,7 @@ def sorted_boxes(dt_boxes): ...@@ -115,7 +115,7 @@ def sorted_boxes(dt_boxes):
for i in range(num_boxes - 1): for i in range(num_boxes - 1):
for j in range(i, 0, -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]): (_boxes[j + 1][0][0] < _boxes[j][0][0]):
tmp = _boxes[j] tmp = _boxes[j]
_boxes[j] = _boxes[j + 1] _boxes[j] = _boxes[j + 1]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment