Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Take 12 points, find minAreaRect, angle of this rect will be your rotation angle, then find rotation matrix and apply rotation