My problems is I want to find 4 corners of rectangles after using cvfindcontours ? Here is my result:
How can I find 4 corners of each rectangle? I think the building function Cv find and draw contours have their information of the corners, so how can I read it?
(modified from here)
If you want the actual points on the contour, you can later find for each contour the points that is closest to each of the corners of the
RotatedRect