Introduction - If you have any usage issues, please Google them yourself
opencv silhouette simple application:
Correlation function as follows:
cvFindContours, cvThreshold, cvContourArea, cvArcLength, cvBoundingRect, cvMinAreaRect2, cvBoxPoints, cvMinEnclosingCircle, cvDrawContours.
1 Find contours
(2) Remove the outline followed by address
3 outlines the relevant parameters calculated
4, make a choice based on actual demand, draw the outline