'OpenCV - ArUco: Pose estimation for rectangle-shaped markers

Does the cv2.aruco library support pose estimation of rectangle-shaped ArUco marker?

I've found that cv2.aruco.detectMarkers detects the rectangle-shaped ArUco marker but cv2.aruco.estimatePoseSingleMarkers supports only square-shaped marker



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source