Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to find the corners of a rectangular contour in pixel points?

Hello,

i want to know how i can find the pixel postion of the corner points of a rectangular contour? With findcontours() and moments() i find the mass center of the contour but know i need the corner points.

Or even better is there a possibility to find the the angular orientation of the rectangle?

Please help it's important for me.