📅  最后修改于: 2022-03-11 14:45:24.465000             🧑  作者: Mango
from PIL import Image
from numpy import asarray
img = Image.open('Sample.png')
numpydata = asarray(img)
print(type(numpydata))
print(numpydata.shape)