OpenCV Python: Draw minAreaRect ( RotatedRect not implemented)
Are there any helper methods to draw a rotated rectangle that is returned
by cv2.minAreaRect() presumably as ((x1,y1),(x2,y2),angle)?
cv2.rectangle() does not support an angle. And since the tuple returned is
not of the "RotatedRect" class (because it seems to not be implemented in
the Python bindings) there is no points method, as shown in the C++
tutorial "Creating Bounding rotated boxes and ellipses for contours¶".
No comments:
Post a Comment