1 | initial version |
You've asked a fairly complex question, so instead of trying to give you the complete answer, I'll point you in the right direction (based on my limited perspective on the problem you are trying to solve).
Using Camshift, you can find an object center, size, and orientation. Finds an object center, size, and orientation. http://docs.opencv.org/modules/video/doc/motion_analysis_and_object_tracking.html?highlight=camshift (and you'll see other operations here that will be of benefit)
I don't know if you are trying to solve a more difficult problem and may need to bring in Jacobian Matrices (though probably not if you take the approach of finding a reference object again (could be the same one in some circumstances)).
2 | grammar fix |
You've asked a fairly complex question, so instead of trying to give you the complete answer, I'll point you in the right direction (based on my limited perspective on the problem you are trying to solve).
Using Camshift, you can find an object center, size, and orientation.
Finds an object center, size, and orientation.
http://docs.opencv.org/modules/video/doc/motion_analysis_and_object_tracking.html?highlight=camshift (and you'll see other operations here that will be of benefit)
I don't know if you are trying to solve a more difficult problem and may need to bring in Jacobian Matrices (though probably not if you take the approach of finding a reference object again (could be the same one in some circumstances)).