Ask Your Question

Revision history [back]

You can compute the size of a contour e.g. with cv::moments

http://docs.opencv.org/doc/tutorials/imgproc/shapedescriptors/moments/moments.html or http://docs.opencv.org/modules/imgproc/doc/structural_analysis_and_shape_descriptors.html#contourarea