![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
opencv
大春SSC
这个作者很懒,什么都没留下…
展开
-
Python+OpenCV3.3图像处理视频教程 贾志刚 代码笔记3
21 直线检测import cv2 as cvimport numpy as npdef line_detection(image): gray = cv.cvtColor(image, cv.COLOR_BGR2GRAY) edges = cv.Canny(gray, 50, 150, apertureSize=3) lines = cv.HoughLines(e...原创 2019-12-28 22:07:44 · 815 阅读 · 0 评论 -
Python+OpenCV3.3图像处理视频教程 贾志刚 代码笔记2
11 边缘保留滤波(EPF)import cv2 as cvimport numpy as npdef bi_demo(image): dst = cv.bilateralFilter(image, 0, 100, 15)#双边滤波 #参数分别为:输入图像、像素领域的直径、颜色领域的标准差(一般尽可能大)、坐标空间的标准方差(一般尽可能小) cv.imshow("b...原创 2019-12-27 16:50:37 · 798 阅读 · 0 评论 -
python-tensorflow-opencv《计算机视觉的深度学习实践》代码笔记
python-tensorflow-opencv《计算机视觉的深度学习实践》代码笔记01 课程概述tf_test:import tensorflow as tf# 创建2个矩阵,前者1行2列,后者2行1列,然后矩阵相乘:matrix1 = tf.constant([[3,3]])matrix2 = tf.constant([[2], [2]])product = tf.matmul...原创 2019-12-25 12:02:34 · 677 阅读 · 0 评论 -
Python+OpenCV3.3图像处理视频教程 贾志刚 代码笔记1
1 图像加载与保存import cv2 as cvimport numpy as npdef video_demo(): capture = cv.VideoCapture(0) while(True): ret, frame = capture.read() frame = cv.flip(frame, 1)#左右调换 c...原创 2019-12-24 22:16:23 · 1161 阅读 · 0 评论