python opencv3 直线检测

git:https://github.com/linyi0604/Computer-Vision 1 # coding:utf8 2 3 import cv2 4 import numpy as np 5 6 7 # 读入图像 8 img = cv2.imread("../data/line1.png") 9 # 转为灰度图像 10 gray = cv2.cvtColor(img,
相关文章
相关标签/搜索