Skip to main content

Class: InstanceSegmentationIO

Extends

  • TaskIO<"INSTANCE_SEGMENTATION", { detections: RawInstanceSegmentation[]; referenceImageIndex: number; }>

Constructors

new InstanceSegmentationIO()

new InstanceSegmentationIO(raw: RawInstanceSegmentationIO, referenceImage?: ImageIO): InstanceSegmentationIO

Parameters

ParameterType

raw

RawInstanceSegmentationIO

referenceImage?

ImageIO

Returns

InstanceSegmentationIO

Overrides

TaskIO.constructor

Properties

objects

readonly objects: InstanceSegmentation[];

raw

readonly raw: RawTaskIO<"INSTANCE_SEGMENTATION", {
detections: RawInstanceSegmentation[];
referenceImageIndex: number;
}>;

Inherited from

TaskIO.raw


referenceImage?

readonly optional referenceImage: ImageIO;

Accessors

count

get count(): number

Returns

number


data

get data(): RawData

Returns

RawData

Inherited from

TaskIO.data


key

get key(): Key

Returns

Key

Inherited from

TaskIO.key

Methods

toJSON()

toJSON(): RawTaskIO<"INSTANCE_SEGMENTATION", {
detections: RawInstanceSegmentation[];
referenceImageIndex: number;
}>

Returns

RawTaskIO<"INSTANCE_SEGMENTATION", { detections: RawInstanceSegmentation[]; referenceImageIndex: number; }>

Inherited from

TaskIO.toJSON