Exporting object tracking task annotation from multiple jobs is not merging overlapping tracks #8629
Open
2 tasks done
Labels
bug
Something isn't working
Actions before raising this issue
Steps to Reproduce
Expected Behavior
When performing tracking annotations on a long video, the user wants to be able to split the task into multiple jobs. The jobs need to have some overlapping frames in oder to connect the tracks during the export.
If there is 10 frames overlapping between job#1 and job#2 (frames 40 to 49) as mentioned above, the user is expecting to have only one track with the same ID (here id=1) in the exported MOT 1.1 gt.txt file, such as:
First issue, this is not what is happening. The track id=1 from job#1 and job#2 is not being merged. Instead, we are ending up with two different tracks (id=1 and id=2), with really similar coordinates.
Second issue, track id=1 becomes a static ghost track in job#2 after the overlapping frames until the end of the video:
And you can't know because it's visually not visible.
I am assuming, an IOU is used between the 10 overlapping frames and if the average is satisfying then the track id is kept. But here the coordinates are almost the same, so either there is a bug or either iOU overlap ration is set to too high.
Possible Solution
Merging overlapping tracks IDs should use a lower IOU threshold.
Context
I discover the problem, while checking my MOT gt.txt exported file where I saw overlapping tracks and some static ghost tracks that lived for thousand of frames. To confirm it, I draw the exported tracks back on the video. I was lucky to find the issue but that affected some of my other work because I was trusting CVAT would merge overlapping track properly.
Environment
No response
The text was updated successfully, but these errors were encountered: