mikel-brostrom / yolo_tracking

BoxMOT: pluggable SOTA tracking modules for segmentation, object detection and pose estimation models
GNU Affero General Public License v3.0
6.27k stars 1.66k forks source link

frame count bug still exists #1434

Closed Sujie1528 closed 2 weeks ago

Sujie1528 commented 2 weeks ago

Search before asking

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.

mikel-brostrom commented 2 weeks ago

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 😄