Created
June 4, 2019 20:39
-
-
Save frogermcs/a141d5ae6e87d27889999063ec6df99c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
img_laptop_url = "https://upload.wikimedia.org/wikipedia/commons/9/90/ThinkPad_X220.jpg" | |
img_laptop = PIL.Image.open(BytesIO(requests.get(img_laptop_url).content)) | |
imshow(np.asarray(img_laptop)) | |
img_golden_url = "https://upload.wikimedia.org/wikipedia/commons/9/93/Golden_Retriever_Carlos_%2810581910556%29.jpg" | |
img_golden = PIL.Image.open(BytesIO(requests.get(img_golden_url).content)) | |
imshow(np.asarray(img_golden)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment