I tried to use IPython.display with the following code:
from IPython.display import display, Image display(Image(filename=\'MyImage.png\'))
Using opencv-python is faster for more operation on image:
import cv2 import matplotlib.pyplot as plt im = cv2.imread('image.jpg') im_resized = cv2.resize(im, (224, 224), interpolation=cv2.INTER_LINEAR) plt.imshow(cv2.cvtColor(im_resized, cv2.COLOR_BGR2RGB)) plt.show()