cv.drawAxis - MATLAB File Help |
Draw coordinate system axis from pose estimation
img = cv.drawAxis(img, cameraMatrix, distCoeffs, rvec, tvec, length)
A = [fx 0 cx; 0 fy cy; 0 0 1]
.[k1,k2,p1,p2,k3,k4,k5,k6,s1,s2,s3,s4]
of 4, 5, 8 or 12 elements.tvec
(usually in meters).Given the pose estimation of a marker or board, this function draws the axis of the world coordinate system, i.e. the system centered on the marker/board. Useful for debugging purposes.