How can I do motion tracking using Emgu CV or OpenCV?
What are different ways of doing it?
I want to track objects against a fixed background.
Best Regards
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Since I don’t know Emgu CV, I would recommend OpenCV.
I’d suggest you use the Lucas Kanade tracking (optical flow).
You track objects by doing the following:
cvGoodFeaturesToTrackmethod.cvCalcOpticalFlowPyrLK, which will give you the new positions of your tracked points.See a better tutorial here.
If you want to understand the concepts behind these functions I would highly recommend reading Learning OpenCV – unfortunately the linked book is only a preview, with missing pages.
Anyway I am sure you can think of a place where you can get this book ;).