标致刺猬

文章
4
资源
0
加入时间
3年10月29天

opencv 学习笔记(五) findContours() 函数与drawContours() 函数

opencv 中利用函数 findContours() 可以监测出物体的轮廓drawContours() 可以画出物体的轮廓findContours()函数源码void findContours(InputArray image, OutputArrayOfArrays contours, OutputArray hierarchy, int mode, int method, Point offset = Point());image ,8位单通道图像。 非零像素被视为1。 零像素保持为0