Interface Sublabel

Sublabel

interface Sublabel {
    attributes?: Attribute[];
    color?: string;
    has_parent?: boolean;
    id?: number;
    name: string;
    type?: LabelType;
}

Properties

attributes?: Attribute[]

The list of attributes. If you want to remove an attribute, you need to recreate the label and specify the remaining attributes.

Sublabel

color?: string

The hex value for the RGB color. Will be generated automatically, unless specified explicitly.

Sublabel

has_parent?: boolean

Sublabel

id?: number

Sublabel

name: string

Sublabel

type?: LabelType

Associated annotation type for this label * any - ANY * cuboid - CUBOID * ellipse - ELLIPSE * mask - MASK * points - POINTS * polygon - POLYGON * polyline - POLYLINE * rectangle - RECTANGLE * skeleton - SKELETON * tag - TAG

Sublabel