Skip to content

Instantly share code, notes, and snippets.

View theBikz's full-sized avatar
🏠
Working from home

Bipin Kuriakose theBikz

🏠
Working from home
  • UST
  • India - Kerala - Kottayam
View GitHub Profile
@pknowledge
pknowledge / canny_edge_detection_in_opencv.py
Created May 24, 2019 23:48
Canny Edge Detection in OpenCV Python
import cv2
import numpy as np
from matplotlib import pyplot as plt
img = cv2.imread("lena.jpg")
img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)
canny = cv2.Canny(img, 100, 200)
titles = ['image', 'canny']
images = [img, canny]