Multiple tracking in a Video

前端 未结 3 1769
失恋的感觉
失恋的感觉 2020-12-17 02:40

I m working on small image processing assignment where I need to track 4 red color object. I got how to track single one. I want to know what is the best approach to track m

3条回答
  •  伪装坚强ぢ
    2020-12-17 03:24

    Here is my implementation on GitHub: https://github.com/Smorodov/Multitarget-tracker video on youtube: http://www.youtube.com/watch?v=2fW5TmAtAXM&list=UUhlR5ON5Uqhi_3RXRu-pdVw

    In short:

    1. Detect objects. This step provides a set of points (detected objects coordinates).
    2. Solve an assignment problem (rectangular Hungarian algorithm). this step assigns detected objects to existing tracks.
    3. Manage unassigned/lost tracks. This step deletes tracks with too many missed detections in a row and adds tracks for new detections.
    4. Apply statistical filter for each track (Kalman filter in this case), for predict missing detections and smooth tracks using objects objects dynamics information (defined in Kalman filter matrices).

    BTW, to get coordinates of 4 points, you need to know coordinates only for 3 points, because your pattern is rectangular, you can compute 4-th point.

提交回复
热议问题