s6.app.utils.arucoΒΆ

s6.app.utils.aruco.generate_checkerboard_with_aruco(squares_x=6, squares_y=6, square_size_mm=12.5, margin_mm=0.0, dpi=300, dictionary_id=cv2.aruco.DICT_4X4_50, output='checkerboard_aruco.png', pdf_output=None)

Generate a checkerboard of size (squares_x x squares_y) with total physical size squares_x * square_size_mm by squares_y * square_size_mm (in mm), at given dpi. A white border of width margin_mm (in mm) is added around the board. White squares are filled with ArUco markers from the specified dictionary. If pdf_output is provided, also generate a single-page A4 PDF embedding the board at true scale with spec text and a QR code encoding those specs below the board.

s6.app.utils.aruco.main()