import cv2 as cv
import numpy as np
img = cv.imread('/home/ai31/Desktop/common/ML/Day13/building.png', 0)
sobelx = cv.Sobel(img, cv.CV_64F, 1, 0, ksize=1)
sobely = cv.Sobel(img, cv.CV_64F, 0, 1, ksize=1)
low = cv.pyrDown(sobelx)
cv.imshow('dst', low)
cv.waitKey(0)

230f991b1e4cbaa041c5727b8209437b3af4e8cf
<mask token>

<mask token>
cv.imshow('dst', low)
cv.waitKey(0)

<mask token>
img = cv.imread('/home/ai31/Desktop/common/ML/Day13/building.png', 0)
sobelx = cv.Sobel(img, cv.CV_64F, 1, 0, ksize=1)
sobely = cv.Sobel(img, cv.CV_64F, 0, 1, ksize=1)
low = cv.pyrDown(sobelx)
cv.imshow('dst', low)
cv.waitKey(0)

import cv2 as cv
import numpy as np
img = cv.imread('/home/ai31/Desktop/common/ML/Day13/building.png', 0)
sobelx = cv.Sobel(img, cv.CV_64F, 1, 0, ksize=1)
sobely = cv.Sobel(img, cv.CV_64F, 0, 1, ksize=1)
low = cv.pyrDown(sobelx)
cv.imshow('dst', low)
cv.waitKey(0)
