Created
August 23, 2021 05:04
-
-
Save shks/8ea0bc77a6be1d1ee5d39515e8129372 to your computer and use it in GitHub Desktop.
CharucoBoard file出力
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from cv2 import aruco | |
import cv2 | |
aruco_dict = aruco.Dictionary_get(aruco.DICT_6X6_250) | |
board = aruco.CharucoBoard_create(28, 16, 200, 140, aruco_dict) | |
imboard = board.draw((1920,1080)) | |
cv2.imwrite('CharucoBoard.png', imboard) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment