Tags
In Supervisely tags provide an option to associate some additional information with the labeled image or the labels on it. Each individual tag can be attached to a single image or asingle annotation only once, but there's not limit on how many times the same tag can be attached to different parts of the scene. There are different lists of tags for images and figures in the annotation file.
When defining a tag, you assign it a name, possible values for a tag instance and what types of things it can be attached to. We support values of the following types: None (without an assigned value), Text, Number, and One of.
Tags With 'None' Value
Tags of 'none' type can't be assigned a value. Adding one manually will result in an error. Also it could not be used as a group tag for the multi-view mode.
Json format for 'None' tags:
Fields definitions:
name
- string - name of the tagvalue
- value of the current tag (always null for any tag of type 'none')Optional fields
id
,tagId
,labelerLogin
,createdAt
,updatedAt
will be described below
Tag with 'Number' Value
Tags of type 'number' can only take a numeric value. Adding a different type of value during manual annotation will result in an error.
Json format for 'Number' tags:
Fields definitions:
name
- string - name of the tagvalue
- value of the current tagOptional fields
id
,tagId
,labelerLogin
,createdAt
,updatedAt
will be described below
Tag with String('Text') Value
Tags of type 'string' can only take a string value. Adding a different type of value during manual annotation will result in an error.
Json format for 'text' tags:
Fields definitions:
name
- string - name of the tagvalue
- value of current tagOptional fields
id
,tagId
,labelerLogin
,createdAt
,updatedAt
will be described below
Tag with value from a given list ('One Of')
Tag of type 'One Of' can only take a value from the list of possible values for this tag. List of possible values is set when creating the tag. Adding a value not from the list during manual annotation will result in an error.
Json format for 'one of' tags:
Fields definitions:
name
- string - name of the tagvalue
- value of current tagOptional fields
id
,tagId
,labelerLogin
,createdAt
,updatedAt
will be described below
Optional fields
The following fields are created and assigned automatically by the system when the tags are first created in it (or the data is uploaded). This means these fields are optional and you don't have to assign them during manual annotation.
Optional fields:
Fields definitions:
id
- unique identifier of the current objecttagId
- unique tag identifier of the current objectlabelerLogin
- string - the name of user who created the current figurecreatedAt
- string - date and time of figure creationupdatedAt
- string - date and time of the last figure update
Examples
Image tags:
Json format for image tags:
Fields definitions:
name
- string - name of the tagvalue
- value of current tagOptional fields
id
,tagId
,labelerLogin
,createdAt
,updatedAt
are described above
Objects tags:
Json format for object tags:
Fields definitions:
name
- string - name of the tagvalue
- value of current tagOptional fields
id
,tagId
,labelerLogin
,createdAt
,updatedAt
are described above
Last updated