Closed cuixing158 closed 2 years ago
Hey, Im sorry you are having trouble with the tool. I wont be able to investige the issue until next week. Maybe you can try and see if you can read subparts of the file until I can fix it.
Hi @cuixing158 , there are two problems:
%YAML:1.0
is not valid (%YAML 1.0
without :
would be acceptable). I will update the documentation to mention YAML 1.1.You can build a workaround like this:
fileread
%YAML:1.0
and !!opencv-matrix
(e.g. with strrep
)yaml.load
data
field to a 2D array (e.g. with reshape
)To write YAML files in the same format you have to reverse the above process. However, it will not be formatted such that every row is in a new line.
hi, I need to parse such a .yml file into matlab, or later I need to save the variables in matlab in similar .yml format, but I can't import and export successfully, I expect the author to enhance this function!
The output error message is as follows:
cam_proj_CAM_FRONT.zip
Link to question information