0
我有一个yml文件,我想用现有的opencv 1.0函数打开文件进行阅读。该文件包含这样的内容:在opencv 1.0中打开yml文件
%YAML:1.0
Image file: "00961010.jpg"
Contours count: 8
Contours:
-
Name: FO
Count: 41
Closed: 0
Points:
-
x: 740.7766113281250000
y: 853.0124511718750000
-
x: 745.1353149414062500
y: 875.5324096679687500
您能否提供一些如何迭代这些数据的例子?我只需要x,y点,然后存储在一个数组中。我已经搜索,但我没有找到类似的数据示例,请帮助我。提前致谢!