1、approxPolyDP(Mat(ps), poly, 5, true);//根据点集,拟合出多边形
2、fillConvexPoly(mask, Mat(ps), Scalar(255));根据点集,绘制并填充出多边形
3、fillPoly(mask, Mat(ps), Scalar(255)); ;根据点集,绘制出多边形
标签:opencv 根据 body exp post div blog log pen
1、approxPolyDP(Mat(ps), poly, 5, true);//根据点集,拟合出多边形
2、fillConvexPoly(mask, Mat(ps), Scalar(255));根据点集,绘制并填充出多边形
3、fillPoly(mask, Mat(ps), Scalar(255)); ;根据点集,绘制出多边形
标签:opencv 根据 body exp post div blog log pen
原文地址:https://www.cnblogs.com/raorao1994/p/8542464.html