Camera calibration
Before obtaining the camera pose using the detected markers, it is necessary to know the calibration parameters of the camera. In this sense, ArUco provides the necessary calibration procedures to perform this task. Note that the calibration procedure is only performed once because the camera optics are not modified. The main function to use in the calibration process is cv2.aruco.calibrateCameraCharuco().
The aforementioned function calibrates a camera using a set of corners from several views extracted from a board. When the calibration process is finished, this function returns the camera matrix (a 3 x 3 floating-point camera matrix) and a vector containing the distortion coefficients. More specifically, the 3 x 3 matrix ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access