Python Read Map, Seq, Matrix in YAML file

asked 2012-12-10 08:33:16 -0500

Eric gravatar image

Hi,

As a test I create this basic YML file composed of mapping, sequence and opencv-matrix. The following code:

#load yml file
fileToLoad="myFile.yml"
myLoadedData = cv.Load(fileToLoad)

gives an error:

cv2.error: The node does not represent a user object (unknown type?)

Any help would be appreciate to Load/Read this YAML file into python objects. Thx!

edit retag flag offensive close merge delete