Skip to content

Instantly share code, notes, and snippets.

@Praveen76
Last active April 15, 2022 20:36
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/9be5c39dc4c92c90a19334531be14cd9 to your computer and use it in GitHub Desktop.
Save Praveen76/9be5c39dc4c92c90a19334531be14cd9 to your computer and use it in GitHub Desktop.
import cv2 as cv
img=cv.imread('D:\img.jpg')
cv.imshow('img',img)
#Bilteral Filtering
blFtrImg=cv.bilaterFilter(img,13,80,80)
#Canny Edge Detection
edge1=cv.Canny(blFtrImg,100,200)
edge2=cv.Canny(blFtrImg,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