好像python安装的opencv2.×版本不能使用FileStorage读取。 R = cv2.cv.Load(root+'/'+png1+'.yml',name="transform") R = np.asarray(R)