文件解析
功能介绍
模块位置:输入输出-文件解析
从文件中解析数据,并输出变量。支持json、xml、mpmvar格式。
示例说明
Josn格式的标注数据
{
"imageHeight": 800,
"imagePath": "C:\\Users\\lc\\Desktop\\image\\SN12345_2025-11-26.png",
"imageWidth": 600,
"shapes": [
{
"description": "",
"flags": [
],
"group_id": null,
"label": "test",
"mask": null,
"points": [
[
0.12345,
0.54321
],
[
1.12345,
1.54321
]
],
"shape_type": "rectangle"
}
]
}
| 模式 | 模块输出 |
|---|---|
| 文件-单次 | ![]() |
| 文件-逐步 | ![]() |
| 继承(shapes[1])-单次 | ![]() |
| 继承(shapes[1])-逐步 | ![]() |
使用场景
可以嵌套使用该模块用来解析嵌套的列表。



