Project Classes and Tags
Last updated
Last updated
Each project in Supervisely has a set of predetermined classes and tags. This information is called Project Meta
and stored in a corresponding JSON-based meta.json
file. This file contains all of the necessary data from the project's classes and tags. Also, it has information about the project's type and settings:
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
(dictionary) [optional] - additional settings of the geometry. May be used with keypoints.
id
(int) [optional] - the unique identification value of the class on the server
hotkey
(string) [optional] - hotkey for the Labeling Tool to quickly change active annotation class
tags
(string) - list of all possible tags that can be assigned to images or objects. Read more here
name
(string) - the unique identifier of a tag
value_type
(string) - one of the possible tag
color
(string) - hex color code
values
(string) [optional] - initially predefined set of possible values
id
(int) [optional] - the unique identification value of the tag
hotkey
(string) [optional] - hotkey for the Labeling Tool to quickly assign tag to object or image
applicable_type
(string) [optional] - defines the applicability of Tag only to images (imagesOnly
), objects (objectsOnly
), or both (all
). By default tag can be assigned to both images and objects.
classes
(list of strings) [optional] - defines the applicability of Tag only to certain classes
projectType
(string) - one of the possible project types: images
, videos
, volumes
, point_clouds
, and point_cloud_episodes
projectSettings
(string) [optional] - additional project properties. For example, multi-view settings. Read more here
multiView
- additional properties for the multi-view mode
enabled
(bool) - enable multi-view mode
tagName
(string) (optional) - the name of the tag which will be used as a group tag
tagId
(int) [optional] - the id of the tag which will be used as a group tag
isSynced
(bool) - enable synchronization of views for the multi-view mode
Please note, that it is necessary that the group tag in multiView
should have the corresponding name
or the id
in the tags
field. Also, the value_type
should not be none
.