2
I want to get the result of the image further to the right, so I can only get to the middle image using a Canny filter and a Gaussian filter. Does anyone know how I can get this result?
import cv2
img = cv2.imread("foto.jpg", 0 )
cany = cv2.Canny(img,100,200)
cany = 255 - cany
cany = cv2.GaussianBlur(cany, (5,5),0)
cv2.imshow('resultado', cany)
cv2.waitKey(0)
cv2.destroyAllWindows()