Skip to content

Instantly share code, notes, and snippets.

@shks
Created August 23, 2021 05:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shks/8ea0bc77a6be1d1ee5d39515e8129372 to your computer and use it in GitHub Desktop.
Save shks/8ea0bc77a6be1d1ee5d39515e8129372 to your computer and use it in GitHub Desktop.
CharucoBoard file出力
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