oskarastrom commited on
Commit
2f9c05c
·
1 Parent(s): ecee8d0

Update associative.py

Browse files
Files changed (1) hide show
  1. lib/fish_eye/associative.py +3 -2
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
- print(trks[unmatched_trk_ids])
 
227
 
228
- low_matched, unmatched_low_dets, unmatched_trk_ids = associate_detections_to_trackers(low_dets, trks[unmatched_trk_ids], self.iou_threshold)
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: