Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

There is no convexity to be computed if the contour has not at least 3 points (so it may be a polygon)... I consider that the function is ok, you should filter those contours that may not be polygons