[PYTHON] Charuco Board output [OpenCV]

Overview

Just a memorandum. I might write the meaning of the argument soon.


from cv2 import aruco
import cv2

aruco_dict = aruco.Dictionary_get(aruco.DICT_6X6_250)
board = aruco.CharucoBoard_create(7, 5, 1, .5, aruco_dict)
imboard = board.draw((2000, 2000))
cv2.imwrite("chessboard.jpg ", imboard)

Recommended Posts

Charuco Board output [OpenCV]
Reversi board surface recognized by OpenCV