Skip to content

Instantly share code, notes, and snippets.

@afozbek
Last active January 28, 2019 20:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save afozbek/305cc34b07e71bfcc1a2e54b827eae13 to your computer and use it in GitHub Desktop.
Save afozbek/305cc34b07e71bfcc1a2e54b827eae13 to your computer and use it in GitHub Desktop.
medium
import requests
from PIL import Image
url = 'https://www.researchgate.net/profile/Jose_Sempere/publication/221258631/figure/fig1/AS:305526891139075@1449854695342/Handwritten-digit-2.png'
response = requests.get(url, stream = True)
img = Image.open(response.raw)
plt.imshow(img)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment