Zhongdao / Towards-Realtime-MOT

Joint Detection and Embedding for fast multi-object tracking
MIT License
2.37k stars 539 forks source link

If it is a bug ? in the multitracker.py line336-line337 #193

Open luckcodingdog opened 3 years ago

luckcodingdog commented 3 years ago

Thanks for your open source code! I have a question: in the line336-line337 of multitracker.py :

self.lost_stracks = sub_stracks(self.lost_stracks, self.removed_stracks) self.removed_stracks.extend(removed_stracks)

I think it should first extend removed_stacks then sub_stracks, so just change the turn of the two lines.

self.removed_stracks.extend(removed_stracks) self.lost_stracks = sub_stracks(self.lost_stracks, self.removed_stracks)