import matplotlib.pyplot as plt from matplotlib.image import imread img=imread('C:/123.jpg') plt.imshow(img) plt.show()