Skip to content

KeypointDetection

Defined in: packages/runntime/src/zoo/tasks/cv/keypointDetection.ts:50

One person found in the image.

readonly box: object & Readonly<{ xmax: number; xmin: number; ymax: number; ymin: number; }>

Defined in: packages/runntime/src/zoo/tasks/cv/keypointDetection.ts:52

Where the person sits, in pixels of the input image.

readonly format: "xyxy"


readonly confidence: number

Defined in: packages/runntime/src/zoo/tasks/cv/keypointDetection.ts:54

The score, 0 to 1.


readonly landmarks: Readonly<Record<CocoLandmark, Landmark>>

Defined in: packages/runntime/src/zoo/tasks/cv/keypointDetection.ts:57

The 17 COCO landmarks by name, nose to rightAnkle. A landmark outside the image keeps its position.