First time here? Check out the FAQ!

Ask Your Question
0

Distance and angle from a point with 3 axes (4points)

asked Feb 19 '13

Hi all, I'd like to know if something exists to find the distance and the angle between a camera and an object with 4 points visible like that : http://upload.wikimedia.org/wikipedia/commons/4/4a/Repere_3_axes.jpg I can put 4 points of colours on each axes and enter the exact distance between points. Does this system already exists ? Thanks in advance. Cyprien

Preview: (hide)

1 answer

Sort by » oldest newest most voted
0

answered Feb 22 '13

If you want to find the projection of a quadrangle on an image plane, you can used getPerspectiveTransform or findHomography (doc). The sample ''lk_homography.py'' is showing a usage with Lucas-Kanade optical flow on full image.

If you want to find the camera parameters from a non planar object, look at POSIT method (doc here on the oldest OpenCV documentation).

Preview: (hide)

Question Tools

Stats

Asked: Feb 19 '13

Seen: 449 times

Last updated: Feb 22 '13