ClassDescriptionMapElem

A helper type for mapping datatypes.ClassIds to class descriptions.

This is internal to components.AnnotationContext.

Fields fields

class_id

Type: ClassId

The key: the components.ClassId.

class_description

Type: ClassDescription

The value: class name, color, etc.

Arrow datatype arrow-datatype

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
            }>
    }
}

Used by used-by