SolvePnp origin point

asked 2019-01-17 05:06:13 -0500

Hello to everyone,
i am currently estimating the pose of a calibration chessboard using the functions findChessboardCorners and solvePnP for retrieving the spatial transform.
Currently it seems like the origin of the transform is the bottom-right corner of the chessboard, is there a way to make the center of the chessboard the origin point of the transformation?
I know i can do it afterwards knowing the geometric properties of the chessboard, i was just wondering if there is a better way directly in OpenCV.
Thanks

edit retag flag offensive close merge delete

Comments

When you pass the objectPoints, this is where you define the 3D coordinates of the chessboard corners.

Eduardo gravatar imageEduardo ( 2019-01-17 07:51:10 -0500 )edit