C#使用OpenCv(OpenCVSharp)图像轮廓检测与绘制

本文实例演示C#语言中如何使用OpenCv(OpenCVSharp)对图像轮廓检测与绘制。

找轮廓

public static void FindContours(InputArray image, out Point[][] contours, out HierarchyIndex[] hierarchy, RetrievalModes mode, ContourApproximationModes method, Point? offset = null);

参数:

1,寻找轮廓的图像;

猜你喜欢

转载自blog.csdn.net/qq_30725967/article/details/133027934