Skip to content

Instantly share code, notes, and snippets.

@Praveen76
Created April 15, 2022 19:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Praveen76/258174615ce2e039bd230925da8df3ec to your computer and use it in GitHub Desktop.
Save Praveen76/258174615ce2e039bd230925da8df3ec to your computer and use it in GitHub Desktop.
import cv2 as cv
img=cv.imread('D:\img.jpg')
cv.imshow('img',img)
#Edge Detection
edge1=cv.Canny(img,100,200)
edge2=cv.Canny(img,200,300)
cv.imshow('edge1',edge1)
cv.imshow('edge2',edge2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment