【图像识别】初探数字识别-水表(2)

在上一个博文中,高斯滤波后对灰度值用canny检测边缘。调整canny参数,检测边缘。下面换一种方式,即先二值化后,再findContours检测检测轮廓。 图像二值化 cv2.threshold(), cv2.adaptiveThreshold(), Otsu’s thresholding. 简单阈值划分 cv2.threshold(InputArray src, int threshold,
相关文章
相关标签/搜索