Created
December 14, 2013 02:26
-
-
Save keimina/7954993 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
#read image and convert grayscal | |
from PIL import Image | |
pil_im = Image.open('./data/empire.jpg').convert('L') | |
pil_im.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment