Opencv Minarearect Python. It returns a box2d structure which contains following details center x y width height angle of rotation. In c and the new python java interface each convexity defect is represented as 4 element integer vector a k a.
Start index end index farthest pt index fixpt depth where indices are 0 based indices in the original contour of the convexity defect beginning end and the farthest point and fixpt depth is fixed point approximation. In this tutorial you will learn how to. Creating bounding boxes and circles for contours next tutorial.
Opencv will get the minarearect and see it only as a rectangle which rotated from the horizontal upto 90 degrees.