Interface SublabelRequest

SublabelRequest

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

Properties

attributes?: AttributeRequest[]

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

SublabelRequest

color?: string

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

SublabelRequest

has_parent?: boolean

SublabelRequest

id?: number

SublabelRequest

name: string

SublabelRequest

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

SublabelRequest