Class: ObjectDetectionIO
Extends
TaskIO
<"OBJECT_DETECTION"
, {detections
:RawObjectDetection
[];referenceImageIndex
:number
; }>
Constructors
new ObjectDetectionIO()
new ObjectDetectionIO(raw: RawObjectDetectionIO, referenceImage?: ImageIO): ObjectDetectionIO
Parameters
Parameter | Type |
---|---|
| |
|
Returns
Overrides
Properties
objects
readonly objects: ObjectDetection[];
raw
readonly raw: RawTaskIO<"OBJECT_DETECTION", {
detections: RawObjectDetection[];
referenceImageIndex: number;
}>;
Inherited from
referenceImage?
readonly optional referenceImage: ImageIO;
Accessors
count
get count(): number
Returns
number
data
get data(): RawData
Returns
RawData
Inherited from
key
get key(): Key
Returns
Key
Inherited from
Methods
toJSON()
toJSON(): RawTaskIO<"OBJECT_DETECTION", {
detections: RawObjectDetection[];
referenceImageIndex: number;
}>
Returns
RawTaskIO
<"OBJECT_DETECTION"
, {
detections
: RawObjectDetection
[];
referenceImageIndex
: number
;
}>