Skip to content

KeypointDetectorModel

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

What to load. Every field is optional; a missing modelPath comes from models.keypointDetection.YOLO26_POSE.DEFAULT.

readonly optional inputSize?: number

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

Input width and height in pixels, a multiple of 32. Default 640. Smaller runs faster and misses more small people.


readonly optional modelPath?: ModelPath

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

The weights: a safetensors export of a YOLO26 pose checkpoint.


readonly optional resizeMode?: ResizeMode

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

How an image is fitted into the model input. Default letterbox.


readonly optional variant?: "x" | "n" | "m" | "s" | "l"

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

Model size, n to x. Default: read from the weights.