scipy.misc scipy.misc.imread(name, flatten=False, mode=None): 读取图片 import scipy.misc b = scipy.misc.imread('/home/file/image.jpg') # numpy array