ノードの名前を知らなくても、(FileStorage ライブラリを使用して) OpenCV で YAML ファイルを解析できますか?
たとえば、次の YAML ファイル:
%YAML:1.0
descriptors1: !!opencv-matrix
rows: 82
cols: 64
dt: f
data: [ ... ]
descriptors2: !!opencv-matrix
rows: 161
cols: 64
dt: f
data: [ ... ]
そして、次のことを行わずに、ノードごとに解析します (OpenCV Matrix by OpenCV Matrix):
FileStorage fs;
...
Mat firstMatrix;
Mat secondMatrix;
fs["descriptors1"] >> firstMatrix;
fs["descriptors2"] >> secondMatrix;