📌  相关文章
📜  如何在python代码示例中将图像转换为矩阵

📅  最后修改于: 2022-03-11 14:45:09.457000             🧑  作者: Mango

代码示例1
import matplotlib.image as image
img=image.imread('image_name.png')
print('The Shape of the image is:',img.shape)
print('The image as array is:')
print(img)