📅  最后修改于: 2022-03-11 14:46:52.983000             🧑  作者: Mango
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