cv.getBoardObjectAndImagePoints - MATLAB File Help |
Given a board configuration and a set of detected markers, returns the corresponding image points and object points to call solvePnP
[objPoints, imgPoints] = cv.getBoardObjectAndImagePoints(board, corners, ids)
corners
(0-based).{[x y z], ...}
{[x y], ...}