mikel-brostrom/boxmot

frame count bug still exists

Closed this issue · 1 comments

Search before asking

  • I have searched the Yolo Tracking issues and discussions and found no similar questions.

Yolo Tracking Component

Tracking

Bug

I updated boxmot and tested on a video with per_class=True and I noticed the ID switching problem reappears. Then I print out the frame_count variable and the sequence looks like this: 0, 80, 159, ... After some naive fix, the frame count is correct but ID switch remains. I want to bring this to your attention as I'm also further investigating the issue.

Environment

latest pip installed boxmot

Minimal Reproducible Example

Any video with occlusions can be used to verify that ID switch problem exists.

I just fixed this issue here. It is the same for all classes for each frame. After each frame the frame id is incremented by one. There will always be ID switches, these algorithms are not perfect 😄