pmj110119 / YOLOX_deepsort_tracker

using yolox+deepsort for object-tracking
281 stars 58 forks source link

Could we use deepsort to improve the result of detection ? #20

Open le02146 opened 1 year ago

le02146 commented 1 year ago

My task is use yolox to run object detect with YoloX, instead of tracking. I trained yolox on many images with bboxes of car, then run car detection on a video. But some of the frames are missing, may I use deepsort method to improve(postprocessing or offline or online?) the result of detection? For example, predict the bbox when Yolox could not detect any car bbox in a frame (actually there is car) Thanks.

pmj110119 commented 1 year ago

Yes. Deepsort employs Kalman filtering to predict the positions of bounding boxes from previous frames in the current frame. A track target is only discarded if it has been consistently missed multiple times.

In offline processing, for targets that have been intermittently missed, you can utilize the Kalman filter's predictions to complement the detection results.

le02146 commented 1 year ago

@pmj110119 Thank you for your help so much! My knowledge limits to object detection on images. If I want to run offline processing for Yolox detection results of videos, should the Kalman filter or deepsort be trained on a video tracking dataset?

pmj110119 commented 1 year ago

You don't need to train specifically for tracking tasks, you can use them directly.

le02146 commented 1 year ago

could you give me a hint, which func should I use ? Thank you so much.