Hello, In order to extract the rotated box from a contour, I used followin python script:
# cnt is a contour occurence
rect = cv2.minAreaRect(cnt)
box = cv2.boxPoints(rect)
And following error occurs : ''module' object has no attribute 'boxPoints'
Please help me.
Best regards.