Skip to content

在图像中查找轮廓

在本教程中,你将学到如何:

  • 使用 OpenCV 函数 cv::findContours
  • 使用 OpenCV 函数 cv::drawContours

下面是本教程的代码。你也可以从以下地址下载:

结果如下:

Find_Contours_Original_Image.jpg Find_Contours_Result.jpg