Track multiple simple objects and measure distance traveled by each in 4 second video

asked 2016-06-09 15:42:58 -0600

Vipul gravatar image

I have video of 4 seconds and would like to be able to track each objects and measure the pixel distance they travel during that timeline. I Have attached one of the frame from the video. In the video each of those red dots are of different size and they move randomly in all directions . Is it possible to track all those red dots and measure the distance travelled by each of them in 2 dimensions (pixel distance)?

image description

edit retag flag offensive close merge delete

Comments

1

Try lkdemo.cpp with your video

LBerger gravatar imageLBerger ( 2016-06-10 01:36:17 -0600 )edit
1

also you can try Multitarget-tracker

sturkmen gravatar imagesturkmen ( 2016-06-10 08:18:45 -0600 )edit
1

Thank you. I was able to implement lkdemo on my video using python opencv, However, I still can't figure out how to get list of objects (object 1,2,3, etc) and distance travelled by each. But I am working on it. I was not able to implement Multitarget-tracker since I don't know how to make use of c++ to run opencv. I will figure it out one of these weekend. Good thing is I made progress and will continue working on it.

Thanks again.

Vipul gravatar imageVipul ( 2016-06-10 16:09:47 -0600 )edit