import cv2
print("OpenCV:", cv2.__version__)
print("has aruco:", hasattr(cv2, "aruco"))
print("has CharucoBoard:", hasattr(cv2.aruco, "CharucoBoard"))
print("has ArucoDetector:", hasattr(cv2.aruco, "ArucoDetector"))