Project Classes and Tags
Each project in Supervisely has a set of predetrminded classes and tags. This information is referred to as Project Meta and it's stored in a corresponding JSON-based project.meta file. This files contains all of the data from the Classes and Tags tab for the project:
Json format for project meta:
1
{
2
"classes": [
3
{
4
"title": "bike",
5
"shape": "rectangle",
6
"color": "#F6FF00",
7
"geometry_config": {}
8
},
9
{
10
"title": "car",
11
"shape": "polygon",
12
"color": "#BE55CE",
13
"geometry_config": {}
14
},
15
{
16
"title": "person",
17
"shape": "bitmap",
18
"color": "#00FF12",
19
"geometry_config": {}
20
}
21
],
22
"tags": [
23
{
24
"name": "cars_number",
25
"color": "#A0A08C",
26
"value_type": "any_number"
27
},
28
{
29
"name": "like",
30
"color": "#D98F7E",
31
"value_type": "none"
32
},
33
{
34
"name": "situated",
35
"color": "#855D79",
36
"value_type": "oneof_string",
37
"values": [
38
"inside",
39
"outside"
40
]
41
},
42
{
43
"name": "car_color",
44
"color": "#ED68A1",
45
"value_type": "any_string"
46
}
47
]
48
}
Copied!
Fields definitions:
    classes(string) - list of all possible object classes. Each class has the following fields assigned:
      title(string) - the unique identifier of a class
      shape(string) - class shape, read more hereโ€‹
      color(string) - hex color code
      geometry_config(string) - ???
    tags(string) - list of all possible tags that can be assigned to images or objects
      name(string) - the unique identifier of a tag
      value_type(string) - one of the possible tag types
      color(string) - hex color code
      values(string) (optional) - ???
Last modified 11mo ago
Copy link