Spaces:
Runtime error
Runtime error
Commit
·
8caf008
1
Parent(s):
5165dd5
Update tracker.py
Browse files- lib/fish_eye/tracker.py +1 -1
lib/fish_eye/tracker.py
CHANGED
@@ -26,7 +26,7 @@ class Tracker:
|
|
26 |
# Match confidence with correct track
|
27 |
conf = 0
|
28 |
min_score = 1000000
|
29 |
-
for det in dets:
|
30 |
score = sum(abs(det[0:4] - track[0:4]))
|
31 |
if (score < min_score):
|
32 |
min_score = score
|
|
|
26 |
# Match confidence with correct track
|
27 |
conf = 0
|
28 |
min_score = 1000000
|
29 |
+
for det in dets[0] + dets[1]:
|
30 |
score = sum(abs(det[0:4] - track[0:4]))
|
31 |
if (score < min_score):
|
32 |
min_score = score
|