Ask Your Question

Revision history [back]

Camera coordinates from solvePnP

I have a box with a square sticker attached to the side of it. I know the image plane coordinates of the vertices of the sticker and the dimensions of sticker and the box. Using solvePnP I am able to get rvecs and tvecs, and using cv2.projectPoints() I'm able to get estimate of the vertices of the box on the image plane. Using these information, how can I translate the coordinates of the vertices of the box to camera coordinates?