You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (trk.time_since_update<1) and (trk.hit_streak>=self.min_hitsorself.frame_count<=self.min_hits):
Shouldn't the ret.append(...) function only be called when trk.hit_streak is greater than or equal to self.min_hits?
Because the self.frame_counter value starts at 1 and is always less than or equal to self.min_hits, therefore the ret.append(...) function will always be called because trk.time_since_update < 1 is also true.
I now use only:
if (trk.hit_streak >= self.min_hits):
This gives me the possibility that the trk is only returned if it has really succeeded in achieving the required min_hits.
The text was updated successfully, but these errors were encountered:
sort/sort.py
Line 245 in da0fe4d
Shouldn't the ret.append(...) function only be called when trk.hit_streak is greater than or equal to self.min_hits?
Because the self.frame_counter value starts at 1 and is always less than or equal to self.min_hits, therefore the ret.append(...) function will always be called because trk.time_since_update < 1 is also true.
I now use only:
if (trk.hit_streak >= self.min_hits):
This gives me the possibility that the trk is only returned if it has really succeeded in achieving the required min_hits.
The text was updated successfully, but these errors were encountered: