I have a problem understanding how OpenCV works when it comes to RotatedRect.
I have extracted a contour and I then try to fit a rotated rectangle over it. The angles that I keep getting range only in 0 to -90. Even if I have the contour directing the other way by flipping it, I still get 0 to -90 angles.
My problem is to make sure the contour lies at 0' degrees. And for that I have to calculated the orientation and then rotate accordingly.
How are these angles represented in OpenCV (2.4.3)?
Regards Wajih