#边缘检测
import cv2
import numpy as np
img=cv2.imread('waterDataSet/img/94.jpeg')
v1=cv2.Canny(img,150,200)
cv2.imshow('res',v1)
cv2.waitKey(0)
cv2.destroyAllWindows()
opencv边缘检测
最新推荐文章于 2022-03-24 22:10:35 发布
#边缘检测
import cv2
import numpy as np
img=cv2.imread('waterDataSet/img/94.jpeg')
v1=cv2.Canny(img,150,200)
cv2.imshow('res',v1)
cv2.waitKey(0)
cv2.destroyAllWindows()