1 | initial version |
Hi, you can try to calculate the thinnes ratio: T = 4*Pi ( Area/Perimeter^2)
this measure has a maximum of 1, which corresponds to a circle, otherwise is more an rectangle. You can also find some other contour properties in OpenCV docu