AnnotationContext
The annotation context provides additional information on how to display entities.
Entities can use datatypes.ClassId
s and datatypes.KeypointId
s to provide annotations, and
the labels and colors will be looked up in the appropriate
annotation context. We use the first annotation context we find in the
path-hierarchy when searching up through the ancestors of a given entity
path.
Arrow datatype arrow-datatype
List<Struct {
class_id: uint16
class_description: Struct {
info: Struct {
id: uint16
label: nullable utf8
color: nullable uint32
}
keypoint_annotations: List<Struct {
id: uint16
label: nullable utf8
color: nullable uint32
}>
keypoint_connections: List<Struct {
keypoint0: uint16
keypoint1: uint16
}>
}
}>
API reference links api-reference-links
- 🌊 C++ API docs for
AnnotationContext
- 🐍 Python API docs for
AnnotationContext
- 🦀 Rust API docs for
AnnotationContext