Skip to main content

Class: ObjectDetectionIO

Extends

  • TaskIO<"OBJECT_DETECTION", { detections: RawObjectDetection[]; referenceImageIndex: number; }>

Constructors

new ObjectDetectionIO()

new ObjectDetectionIO(raw: RawObjectDetectionIO, referenceImage?: ImageIO): ObjectDetectionIO

Parameters

ParameterType

raw

RawObjectDetectionIO

referenceImage?

ImageIO

Returns

ObjectDetectionIO

Overrides

TaskIO.constructor

Properties

objects

readonly objects: ObjectDetection[];

raw

readonly raw: RawTaskIO<"OBJECT_DETECTION", {
detections: RawObjectDetection[];
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<"OBJECT_DETECTION", {
detections: RawObjectDetection[];
referenceImageIndex: number;
}>

Returns

RawTaskIO<"OBJECT_DETECTION", { detections: RawObjectDetection[]; referenceImageIndex: number; }>

Inherited from

TaskIO.toJSON