NirAharon/BoT-SORT

removed_tracks removed from lost_tracks before newly removed tracks added to removed_tracks?

MiksVasiljevs opened this issue · 0 comments

Appreciate the work on the tracker!

I have noticed that during tracking, tracks with TrackState 4 (removed) appear in the lost_stracks simultaneously to being in the removed_stracks.

I believe that the logic below might be the cause of it:

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

Why do we remove removed_tracks from lost_tracks before adding the newly removed tracks to the list of removed_tracks?

If this is intended, then could you please advise me on what is the idea behind having tracks that have been marked as removed appear in the list of lost tracks once update() is completed?