imutils with Canny Edge Detection
来源:互联网 发布:chocobank网络剧照片 编辑:程序博客网 时间:2024/06/06 18:14
简介
使用imutils对图像进行Canny边缘检测,与网页LOGO获取。
代码
import imutilsimport cv2url = "http://pyimagesearch.com/static/pyimagesearch_logo_github.png"logo = imutils.url_to_image(url)cv2.imshow("URL to Image", logo)gray = cv2.cvtColor(logo, cv2.COLOR_BGR2GRAY)edgeMap = imutils.auto_canny(gray)cv2.imshow("Original", logo)cv2.imshow("Automatic Edge Map", edgeMap)cv2.waitKey(0)
效果
阅读全文
0 0
- imutils with Canny Edge Detection
- Canny Edge Detection Tutorial
- Canny Edge Detection Tutorial(Canny 边缘检测教程)
- edge detection
- OpenCV边缘检测Edge Detection集合使用范例, 包含Sobel, Canny等
- 边缘检测(edge detection)_Sobel导数 Laplace算子 Canny边缘检测
- canny edge detector
- Canny Edge Detector
- Canny Edge Detector
- Canny Edge Detector
- Canny Edge Dection
- canny edge detector
- Canny Edge Detector
- Canny边缘检测器-- The Canny Edge Detector
- Classification with an edge: Improving semantic image segmentation with boundary detection
- POJ 1009 Edge Detection
- poj 1009 Edge Detection
- Edge Detection: Sobel operator
- 页面显示This is the initial start page for the WebDriver server.的解决办法
- 字符流中第一个不重复的字符
- JavaScript.ajax获得后台的返回值
- 2017 ccpc 网络赛 Friend-Graph
- 开闭原则
- imutils with Canny Edge Detection
- 训练总结 8.19
- 动态导航栏
- [笔记分享] [GPIO] MSM8x39 GPIO 硬件部分小结
- POJ
- codevs 过路费
- STM32 SPI接口读写SPI flash实验
- KNN(K近邻算法)
- hdu-6128 Inverse of sum 推公式