Answers for "print img 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

Python Answers by Framework

Browse Popular Code Answers by Language