Im using the following code to create and save the charuco board. When I print the charuco.png, the square length and marker length are not equal to the expected value of 0.05m and 0.03m respectively
d = cv2.aruco.getPredefinedDictionary(cv2.aruco.DICT_4X4_50)
charuco = cv2.aruco.CharucoBoard_create(3, 3, 0.05, 0.03, d)
height = 600
width = 600
img = charuco.draw((width, height))
cv2.imwrite("charuco.png", img)
Do I need to save the image as pdf/svg to maintain the dimensions of the charuco?