sort
sort copied to clipboard
missing objects for tracking objects video= 10fps
Thanks for the useful repository. I combined the sort algorithm with an object detection(YOLOV3), I run the application at 30 fps but my video feed is 10fps. I noticed when the video feed is slow,10fps, the system does not work well, it misses some object for a few frames and id switching happens. I wonder why this is happening? is it due to the Kalman filter? How Kalman filter can be affected when the video is slow 1 or 10 fps?
@PROGRAMMINGENGINEER-NIKI hi, I have the same issue. Have you solved the problem? I tried to change --max_age argument which keeps alive the traking number even not detected at next frames. But seams not working as I expected. (max-age - Maximum number of frames to keep alive a track without associated detections.)
@PROGRAMMINGENGINEER-NIKI hi, I have the same issue. Have you solved the problem? I tried to change --max_age argument which keeps alive the traking number even not detected at next frames. But seams not working as I expected. (max-age - Maximum number of frames to keep alive a track without associated detections.)
in Line245: if (trk.time_since_update < 1)
means kalmanTracker must [update] before [predict],so,if the detector output FrameRate is slower than video FrameRate, SORT will not output correct.
solution:
- change
if (trk.time_since_update < 1)
toif (trk.time_since_update < VIDEO_FRAME_RATE/DETECTOR_FRAME_RATE)
; - chage
max-age=1
tomax_age=VIDEO_FRAME_RATE/DETECTOR_FRAME_RATE
Hey @Ashsur @cappittall @PROGRAMMINGENGINEER-NIKI I have generated a sort output file for my custom video dataset, and want to visualize the tracker output on my custom video (not on the MOT benchmark data). Are you aware how to do this?