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
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:
cvGoodFeaturesToTrack
method.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 ;).