OpenCV——字符提取并保存

截取图中上方数码管中的数字 基本思路: 1、将图像转化为灰度图 2、截取ROI区域 3、二值化 4、循环遍历每一行和每一列,得到字符的坐标 5、截取并保存 1 #include <opencv2/opencv.hpp> 2 #include <iostream> 3 #include <math.h> 4 #include <stdio.h> 5 6 using
相关文章
相关标签/搜索