Spaces:
Runtime error
Runtime error
Commit
·
2f9c05c
1
Parent(s):
ecee8d0
Update associative.py
Browse files
lib/fish_eye/associative.py
CHANGED
@@ -223,9 +223,10 @@ class Associate(object):
|
|
223 |
print(trks)
|
224 |
high_matched, unmatched_high_dets, unmatched_trk_ids = associate_detections_to_trackers(high_dets, trks, self.iou_threshold)
|
225 |
|
226 |
-
|
|
|
227 |
|
228 |
-
|
229 |
|
230 |
# update matched trackers with assigned detections
|
231 |
for m in high_matched:
|
|
|
223 |
print(trks)
|
224 |
high_matched, unmatched_high_dets, unmatched_trk_ids = associate_detections_to_trackers(high_dets, trks, self.iou_threshold)
|
225 |
|
226 |
+
if len(unmatched_trk_ids) > 0:
|
227 |
+
print(trks[unmatched_trk_ids])
|
228 |
|
229 |
+
low_matched, unmatched_low_dets, unmatched_trk_ids = associate_detections_to_trackers(low_dets, trks[unmatched_trk_ids], self.iou_threshold)
|
230 |
|
231 |
# update matched trackers with assigned detections
|
232 |
for m in high_matched:
|