
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)
[((52, 106), 'cv2.imread', 'cv2.imread', (['"""../../Assets/Images/flower-white.jpeg"""', '(1)'], {}), "('../../Assets/Images/flower-white.jpeg', 1)\n", (62, 106), False, 'import cv2\n'), ((168, 190), 'cv2.imshow', 'cv2.imshow', (['"""img"""', 'img'], {}), "('img', img)\n", (178, 190), False, 'import cv2\n'), ((199, 236), 'cv2.cvtColor', 'cv2.cvtColor', (['img', 'cv2.COLOR_BGR2GRAY'], {}), '(img, cv2.COLOR_BGR2GRAY)\n', (211, 236), False, 'import cv2\n'), ((245, 278), 'cv2.GaussianBlur', 'cv2.GaussianBlur', (['gray', '(3, 3)', '(0)'], {}), '(gray, (3, 3), 0)\n', (261, 278), False, 'import cv2\n'), ((285, 307), 'cv2.Canny', 'cv2.Canny', (['img', '(50)', '(50)'], {}), '(img, 50, 50)\n', (294, 307), False, 'import cv2\n'), ((309, 331), 'cv2.imshow', 'cv2.imshow', (['"""dst"""', 'dst'], {}), "('dst', dst)\n", (319, 331), False, 'import cv2\n'), ((332, 346), 'cv2.waitKey', 'cv2.waitKey', (['(0)'], {}), '(0)\n', (343, 346), False, 'import cv2\n')]