Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Python Load FileStorage

Hi all, Is there anyway to load using python bindings a YML file containing several nodes of sequence of cvmat ? I succeed to save/load those file with c++ but I cannot make it work with python.

Any help would be appreciate!

Best,

Python Load OpenCV FileStorage

Hi all, Is there anyway to load using python bindings a YML file containing several nodes of sequence of cvmat ? I succeed to save/load those file with c++ but I cannot make it work with python.

Any help would be appreciate!

Best,

Python Load OpenCV FileStorage

Hi all, Is there anyway to load using python bindings a YML file containing several nodes of sequence of cvmat ? I succeed to save/load those file with c++ but I cannot make it work with python.

Any help would be appreciate!

Best,

EDIT: I add here a sample YML file which was written with opencv c++ interface, using cv::FileStorage. http://pastebin.com/YhrecFLr With opencv python, the documentation says: Use cv.Load(filename, memstorage=None, str=None) like : But I cannot make it work, it always throw "cv2.error: The node does not represent a user object"

Python Load OpenCV FileStorage

Hi all, Is there anyway to load using python bindings a YML file containing several nodes of sequence of cvmat ? I succeed to save/load those file with c++ but I cannot make it work with python.

Any help would be appreciate!

Best,

EDIT: I add here a sample YML file which was written with opencv c++ interface, using cv::FileStorage. http://pastebin.com/YhrecFLr http://pastebin.com/YhrecFLr

With opencv python, the documentation says: Use cv.Load(filename, memstorage=None, str=None) like : str=None)

But I cannot make it work, it always throw "cv2.error: The node does not represent a user object"