matplotlib读取图片方法罗列
img = imread('./z/y/imgs/K-line.png')
plt.imshow(img)
plt.show()
知识参考
1. matplotlib官网
2.python 读取并显示图片的各种方式(Pillow、matplotlib、opencv)
matplotlib读取图片方法罗列
img = imread('./z/y/imgs/K-line.png')
plt.imshow(img)
plt.show()
知识参考
1. matplotlib官网
2.python 读取并显示图片的各种方式(Pillow、matplotlib、opencv)