2018年10月7日
摘要: 1 #include 2 #include 3 #include 4 5 using namespace cv; 6 using namespace std; 7 8 int main(int argc, char** argv) { 9 Mat src = imread("test.jpg"); 10 if (src.empty()) { 11 ... 阅读全文
posted @ 2018-10-07 16:26 一抹烟霞 阅读(821) 评论(0) 推荐(0) 编辑
摘要: 思路: 1、通过形态学操作、阈值处理、距离变换等方法,使得各个轮廓分开 2、计算轮廓数量 #include <opencv2/opencv.hpp>#include <iostream>#include <math.h>using namespace cv;using namespace std;i 阅读全文
posted @ 2018-10-07 16:09 一抹烟霞 阅读(1771) 评论(0) 推荐(0) 编辑

Live2D