Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

See SolvePnP

Supply the image coordinates or each square's corners (or just the corners of the board) along with their real-world positions on the board - just like you did for the camera calibration.

The rvec and tvec returned will contain the rotation of the camera relative to the chessboard and the position (translation) of the chessboard in camera coords.

A single flat symmetric chessboard target isn't really the best choice for this if you care about the angle.