Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Python/Opencv for 2D Pose Detection

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), 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

Python/Opencv for 2D Pose Detection

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), but most well). Most were also for fairly old versions of OpenCV and were in C++. 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