abewley / sort

Simple, online, and realtime tracking of multiple objects in a video sequence.
GNU General Public License v3.0
3.82k stars 1.07k forks source link

What are “min_hits” and “hit_streak” parameters? #104

Open jainpulkit54 opened 4 years ago

jainpulkit54 commented 4 years ago

@abewley First of all thanks for this wonderful piece of work...it literally gave me insights into object tracking...just one question for you...can you please tell me for what are the “min_hits” and “hit_streak” parameters for? I tried a lot to understand but could not figure it out? Just one more request please give an elaborate description of it!!!

Thanks in advance!!!

jainpulkit54 commented 4 years ago

@cygerts Could you also please chip in?

tadbeer commented 4 years ago

_hitstreak is quite literally a track's hit streak. By hit, a match of a track with a new detection is implied. So for a given track, hit_streak is the total number of times it consecutively got matched with a detection in the last frames. _minhits is the minimum value of hit streak of a track, required, such that it gets displayed in the outputs.

LMerCy commented 3 years ago

_hitstreak is quite literally a track's hit streak. By hit, a match of a track with a new detection is implied. So for a given track, hit_streak is the total number of times it consecutively got matched with a detection in the last frames. _minhits is the minimum value of hit streak of a track, required, such that it gets displayed in the outputs.

Is this used to remove some false positive in only unconsecutive frame, but this will cause re-entering problem?If one frame is miss detected, once it has been detected again, due to the hit_streak, it wont displayer once. And actually the tracker hasn't been removed, why not just display them?