Spurious track switch #2041
Replies: 2 comments 1 reply
-
I think the issue here is that the track window is a bit too large. Try setting it to 5. With Let us know if that helps! Talmo |
Beta Was this translation helpful? Give feedback.
-
"Hi Olivier, the track switch might be due to the track_window size (25 frames) or the instance similarity metric, which can confuse identities if tracks momentarily align. Reducing the window (e.g., to 15) or experimenting with centroid similarity might help. For culling, post-culling alone should suffice if you consistently have two instances, as pre-culling might exclude valid candidates. Visualizing similarity scores, much like in systems for tforce final mile tracking, could also shed light on the issue. Hope this helps!" |
Beta Was this translation helpful? Give feedback.
-
Hello, I haven't found any similar issues by searching for track switch in the github so I am opening a discussion here.
I am having a hard time understanding how this kind of track switch would happen. Here, orange track went out of frames. Blue track had succesfully predicted instances before and after the switch, with no discontinuities. Yet, the track identitie have been switched. This would easily be fixable using manual code but I would still like to understand what would be the issue.
Here are relevant informations.
In the picture, trail_length is at 250 frames.
Video is recorded at 25 FPS.
This is a bottomup model (not ID).
Tracking parameters are the following:
A secondary question, less important though. In these parameters, I am culling to two tracks both before and after, which I assume is redundant. What would be the pros and cons of culling to target number instances before or after tracking ?
Thank you again for your help and amazing tool.
Beta Was this translation helpful? Give feedback.
All reactions