Answers for "how to print an image in python"

0

print image python

import matplotlib.pyplot as plt
import matplotlib.image as mpimg
img = mpimg.imread('your_image.png')
imgplot = plt.imshow(img)
plt.show()
Posted by: Guest on April-17-2021

Code answers related to "how to print an image in python"

Python Answers by Framework

Browse Popular Code Answers by Language