nbviewer http://nbviewer.jupyter.org/gist/Tatejimaru/9272c82e2d85a7498901
Ici, nous utilisons la fonction ʻimshow` de matplotlib.
from PIL import Image
import matplotlib.pyplot as plt
import numpy as np
im = Image.open("hoge.png ", "r")
plt.imshow(np.array(im))
python - How to show PIL Image in ipython notebook - Stack Overflow http://stackoverflow.com/questions/26649716/how-to-show-pil-image-in-ipython-notebook
Recommended Posts