📜  边缘检测 opencv python 代码示例

📅  最后修改于: 2022-03-11 14:46:52.983000             🧑  作者: Mango

代码示例1
import cv2
img = cv2.imread(IMG_PATH) #reading the image
edges = cv2.Canny(img,100,200) #canney edhe detecton
cv2.imshow('Edges in the image', edges) #displaying the image