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

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -