The JSON pre-annotation format is the json annotation file exported by LabelU, supporting the export of annotation data for images, videos, and audio. It can be directly imported as pre-annotations.
The exported json file is an array, where each element is the annotation information of a sample, containing the following fields:
Field | Type | Required | Default | Description |
---|---|---|---|---|
id | string | Yes | - | |
result | string | Yes | - | json string |
url | string | Yes | - | http url of the sample file |
folder | string | Yes | - | directory of the sample file |
fileName | string | Yes | - |
Field | Type | Required | Default | Description |
---|---|---|---|---|
width | integer | No | - | image width |
height | integer | No | - | image height |
rotate | integer | No | - | image rotated degree |
annotations | array | No | - | |
objectobjectobjectobjectobjectobjectobject | No | - |
The annotations
field in the result
is an array, where each element is the annotation result of an annotation tool:
The definitions of all fields for image annotation tools are as follows:
Field | Type | Required | Default | Description |
---|---|---|---|---|
width | integer | No | - | video width |
height | integer | No | - | video height |
duration | integer | No | - | video duration |
annotations | array | No | - | |
objectobjectobjectobject | No | - |
The definitions of all fields for video annotation tools are as follows:
Field | Type | Required | Default | Description |
---|---|---|---|---|
duration | integer | No | - | 音频时长 |
annotations | array | No | - | 标注信息 |
objectobjectobjectobject | No | - |
The definitions of all fields for audio annotation tools are as follows: