I have a 2 * 3 ArUco markerboard, and I want to know the transformation (rotation and translation vectors) from the center of the board (the blue dot in the picture) to the camera. By calling estimatePoseBoard
function, we can easily get rvec
and tvec
, but I think here rvec
and tvec
are transformations from the bottom left corner of the board to the camera. So how can we get the rotation and translation vectors of the geometric center of the markerboard? Any help is appreciated.
same as always. compose transformations by matrix multiplication.
define the translation from dot frame to board frame. multiply it onto the transformation you have for your board.
multiplying from the left and from the right have different effects.
you’ll want to make convenience functions that convert between rvec+tvec and 4x4 matrix.
1 Like
Thank you. Your answer is very helpful to me.