Skip to main content

Class: InstanceSegmentation

Extends

  • BaseType<RawInstanceSegmentation>

Constructors

new InstanceSegmentation()

new InstanceSegmentation(raw: RawInstanceSegmentation): InstanceSegmentation

Parameters

ParameterType

raw

RawInstanceSegmentation

Returns

InstanceSegmentation

Overrides

BaseType<RawInstanceSegmentation>.constructor

Properties

box

readonly box: Box;

color

readonly color: Color;

mask

readonly mask: Image;

polygons

readonly polygons: Polygon[];

raw

readonly raw: RawInstanceSegmentation;

Inherited from

BaseType.raw

Accessors

confidence

get confidence(): number

Returns

number


label

get label(): string

Returns

string

Methods

toJSON()

toJSON(): RawInstanceSegmentation

Returns

RawInstanceSegmentation

Inherited from

BaseType.toJSON