python 3.x - AttributeError: 'cv2.FileStorage' object has no attribute 'getNode' -
i building project based on python3.4 , opencv3.0 in pycharmce2017 on ubuntu14.04 machine. when running code below,
import cv2 if __name__ == "__main__": savepath = "/home/s/desktop/imgcov/" filename = savepath + "depth.xml" fs = cv2.filestorage(filename, cv2.file_storage_read) matrix = fs.getnode("data")
i error:
attributeerror: 'cv2.filestorage' object has no attribute 'getnode'
how can fix this? tips appreciated.
Comments
Post a Comment