matplotlib读取图片并显示

import matplotlib.image as imgplt
import matplotlib.pyplot as plt
x = imgplt.imread('Faces/0805personali01.jpg')
plt.imshow(x)
plt.waitforbuttonpress(0)

猜你喜欢

转载自blog.csdn.net/weixin_38241876/article/details/85272820