vector<vector<Point>> vec_p;
vector<Vec4i> vec_4f;
findContours(img_canny1, vec_p, vec_4f,RETR_TREE, CHAIN_APPROX_SIMPLE, Point(0, 0));
drawContours(img3, vec_p, i, color_1, 2, 8, vec_4f, 0, Point(0, 0));
vector<vector<Point>> vec_p;
vector<Vec4i> vec_4f;
findContours(img_canny1, vec_p, vec_4f,RETR_TREE, CHAIN_APPROX_SIMPLE, Point(0, 0));
drawContours(img3, vec_p, i, color_1, 2, 8, vec_4f, 0, Point(0, 0));
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。