matplotlib读取图片方法罗列

matplotlib读取图片方法罗列

img = imread('./z/y/imgs/K-line.png')
plt.imshow(img)
plt.show()


知识参考
1. matplotlib官网
2.python 读取并显示图片的各种方式(Pillow、matplotlib、opencv)

发布了73 篇原创文章 · 获赞 24 · 访问量 2560

猜你喜欢

转载自blog.csdn.net/weixin_44943394/article/details/104761078
今日推荐