Python/Opencv for 2D Pose Detection

asked 2012-12-31 17:45:02 -0500

NConover gravatar image

updated 2012-12-31 17:46:30 -0500

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:

  1. The distance of the camera from the marker. (the scale of the marker)
  2. The rotation of the camera to the marker about the axis perpendicular to the marker.
  3. 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). Most were also for fairly old versions of OpenCV. 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

edit retag flag offensive close merge delete