OpenCV檢測圖片中的直線

代碼位置:29-FindLines.py import cv2 as cv import numpy as np img = cv.imread('./res/pic1.png', cv.IMREAD_COLOR) img2 = img.copy() gray = cv.cvtColor(img, cv.COLOR_BGR2GRAY) edges = cv.Canny(gray, 50, 200
相關文章
相關標籤/搜索