12 2019 档案

初识OpenCV-Python - 010: 精致边缘探测
摘要:本节主要介绍使用Canny函数达到边缘探测的结果。 Code: import cv2from matplotlib import pyplot as pltimg = cv2.imread('ball.png',0)/** Canny(image, threshold1, threshold2[,e 阅读全文

posted @ 2019-12-10 11:26 画扇2020 阅读(158) 评论(0) 推荐(0)

初识OpenCV-Python - 009: 图像梯度
摘要:本节学习找到图像的梯度和边界。只要用到的函数为: cv2.Sobel(), cv2.Scharr(), cv2.Laplacian() 1. Laplacian 和 Sobel的对比 import cv2from matplotlib import pyplot as pltimg = cv2.im 阅读全文

posted @ 2019-12-10 10:31 画扇2020 阅读(259) 评论(0) 推荐(0)