Individual Image Annotations
For each image, we store the annotations in a separate json file named image_name.image_format.json with the following file structure:
1
{
2
"description": "food",
3
"name": "tomatoes-eggs-dish.jpg",
4
"size": {
5
"width": 2100,
6
"height": 1500
7
},
8
"tags": [],
9
"objects": []
10
}
Copied!
Fields definitions:
    name - string - image name
    description - string - (optional) - This field is used to store the text we want to assign to the image. In the labeling intrface it corresponds to the 'data' filed.
    size - stores image size. Mostly, it is used to get the image size without the actual image reading to speed up some data processing steps.
      width - image width in pixels
      height - image height in pixels
    tags - list of strings that will be interpreted as image tagsโ€‹
    objects - list of objects on the imageโ€‹

Full image annotation example with objects and tags

image example
Example:
1
{
2
"description": "",
3
"tags": [
4
{
5
"id": 86458971,
6
"tagId": 28283797,
7
"name": "like",
8
"value": null,
9
"labelerLogin": "alexxx",
10
"createdAt": "2020-08-26T09:12:51.155Z",
11
"updatedAt": "2020-08-26T09:12:51.155Z"
12
},
13
{
14
"id": 86458968,
15
"tagId": 28283798,
16
"name": "situated",
17
"value": "outside",
18
"labelerLogin": "alexxx",
19
"createdAt": "2020-08-26T09:07:26.408Z",
20
"updatedAt": "2020-08-26T09:07:26.408Z"
21
}
22
],
23
"size": {
24
"height": 952,
25
"width": 1200
26
},
27
"objects": [
28
{
29
"id": 497521359,
30
"classId": 1661571,
31
"description": "",
32
"geometryType": "bitmap",
33
"labelerLogin": "alexxx",
34
"createdAt": "2020-08-07T11:09:51.054Z",
35
"updatedAt": "2020-08-07T11:09:51.054Z",
36
"tags": [],
37
"classTitle": "person",
38
"bitmap": {
39
"data": "eJwBgQd++IlQTkcNChoKAAAADUlIRF",
40
"origin": [
41
535,
42
66
43
]
44
}
45
},
46
{
47
"id": 497521358,
48
"classId": 1661574,
49
"description": "",
50
"geometryType": "rectangle",
51
"labelerLogin": "alexxx",
52
"createdAt": "2020-08-07T11:09:51.054Z",
53
"updatedAt": "2020-08-07T11:09:51.054Z",
54
"tags": [],
55
"classTitle": "bike",
56
"points": {
57
"exterior": [
58
[
59
0,
60
236
61
],
62
[
63
582,
64
872
65
]
66
],
67
"interior": []
68
}
69
}
70
]
71
}
Copied!
Last modified 11mo ago