Class: KeypointsIO
Extends
TaskIO
<"KEYPOINTS"
, {links
:RawKeypointLink
[];objects
:RawObjectKeypoints
[];referenceImageIndex
:number
; }>
Constructors
new KeypointsIO()
new KeypointsIO(raw: RawKeypointsIO, referenceImage?: ImageIO): KeypointsIO
Parameters
Parameter | Type |
---|---|
| |
|
Returns
Overrides
Properties
links
readonly links: KeypointLink[];
objects
readonly objects: ObjectKeypoints[];
raw
readonly raw: RawTaskIO<"KEYPOINTS", {
links: RawKeypointLink[];
objects: RawObjectKeypoints[];
referenceImageIndex: number;
}>;
Inherited from
referenceImage?
readonly optional referenceImage: ImageIO;
Accessors
data
get data(): RawData
Returns
RawData
Inherited from
key
get key(): Key
Returns
Key
Inherited from
Methods
toJSON()
toJSON(): RawTaskIO<"KEYPOINTS", {
links: RawKeypointLink[];
objects: RawObjectKeypoints[];
referenceImageIndex: number;
}>
Returns
RawTaskIO
<"KEYPOINTS"
, {
links
: RawKeypointLink
[];
objects
: RawObjectKeypoints
[];
referenceImageIndex
: number
;
}>