Skip to content

Commit

Permalink
bug fix cont..
Browse files Browse the repository at this point in the history
  • Loading branch information
saurabh1993 authored Dec 21, 2019
1 parent 65c4781 commit 3da8cfc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion multitracker/multitracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ def add_tracker(self, img, detection):
return trackerID

def update_trackers_with_detections(self,img, detections, mapped_trackers):
for trackerid,detection in mapped_trackers.items():
for trackerid,detections in mapped_trackers.items():
detection = detections['box']
self.trackers[trackerid].tracker.init(img, self.detection2bbox(detection))
self.trackers[trackerid].visible_count +=1
self.trackers[trackerid].consecutive_invisible_count = 0
Expand Down

0 comments on commit 3da8cfc

Please sign in to comment.