
import cv2
import numpy as np
import random

img = cv2.imread('../../Assets/Images/flower-white.jpeg', 1)

imgInfo = img.shape
height = imgInfo[0]
width = imgInfo[1]

cv2.imshow('img', img)

gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)

imgG = cv2.GaussianBlur(gray, (3, 3), 0)
dst = cv2.Canny(img, 50, 50)

cv2.imshow('dst', dst)
cv2.waitKey(0)
[(6, 'cv2.imread', 'cv2.imread', False, 'import cv2\n'), (12, 'cv2.imshow', 'cv2.imshow', False, 'import cv2\n'), (14, 'cv2.cvtColor', 'cv2.cvtColor', False, 'import cv2\n'), (16, 'cv2.GaussianBlur', 'cv2.GaussianBlur', False, 'import cv2\n'), (17, 'cv2.Canny', 'cv2.Canny', False, 'import cv2\n'), (19, 'cv2.imshow', 'cv2.imshow', False, 'import cv2\n'), (20, 'cv2.waitKey', 'cv2.waitKey', False, 'import cv2\n')]