Track multiple simple objects and measure distance traveled by each in 4 second video
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)?
Try lkdemo.cpp with your video
also you can try Multitarget-tracker
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.