Skip to content

Instantly share code, notes, and snippets.

@pranjalAI
Created July 28, 2021 19:02
Show Gist options
  • Save pranjalAI/0e8a4a8ceb7581e818279e177e91103f to your computer and use it in GitHub Desktop.
Save pranjalAI/0e8a4a8ceb7581e818279e177e91103f to your computer and use it in GitHub Desktop.
resp = ur.urlopen("https://thumbor.forbes.com/thumbor/960x0/https%3A%2F%2Fspecials-images.forbesimg.com%2Fdam%2Fimageserve%2F1068867780%2F960x0.jpg%3Ffit%3Dscale")
image = np.asarray(bytearray(resp.read()), dtype="uint8")
im = cv2.imdecode(image, cv2.IMREAD_COLOR)
blur = cv2.GaussianBlur(im, (5,5),0)
cv2_imshow(blur)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment