I have been searching for days looking for an example of a pose estimation program written in Python. I have a project for which I want to determine the following information about a marker which the camera will be viewing:
- The distance of the camera from the marker. (the scale of the marker)
- The rotation of the camera to the marker about the axis perpendicular to the marker.
- The x and y offset of the center of the marker from the center of the camera image.
I have seen many examples in c++ (which i don't understand very well), but most were for fairly old versions of OpenCV and were in C++. I would like to use a OpenCV 2 version, and want to use python.
If anyone can point me to an example, or give me a place to start, that would be very helpful.
Thanks, --Nick