Hi! first time working with Supervision.
I have the following problem: I am tracking cans over a conveyor. Cans are exactly the same, one behind the other. When i perform tracking, i get printed the id’s and i get:
[1,2] in one frame
[2,1] in the next one
[1,2] in the following one.
This leads to identifying later wrongly.
Has anyone happened this or got any clues how to solve this ? (i am thinking in the usual way, re-match the array when same values come in different order frame by frame).
Generally tracking for similar objects can be tricky. However, if they’re moving at a constant speed, in the same direction and the frame rate is good enough, the tracker should work. Are you able to share a few pictures of correct and incorrect cases?
Alternatively, a quick video that’s either annotated or together with the code you’re running would be even better.
There are a few issues with ByteTrack in supervision release 0.20.0 If you switch to using the pre-released version supervision=0.21.0rc3, it should solve the issue.