http://blog.csdn.net/uestcyao/article/details/7874817 #读取图片并存储为矩阵 from scipy.misc import imread im = imread("/Users/NaCl/Documents/GitHub/test.png") #将读取到的矩阵数据序列化.即进行持久性存储 from numpy import * import pickle with open('test.pickle', 'wb') as f: pi
本片文章主要是对pickle官网的阅读记录. The pickle module implements binary protocols for serializing and de-serializing a Python object structure. “Pickling” is the process whereby a Python object hierarchy is converted into a byte stream, and “unpickling” is the in