Skip to content

createKeypointDetector

createKeypointDetector(config?, opts?): Promise<KeypointDetector>

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

Loads the checkpoint, warms the GPU path once, and returns the runner. Needs a device with shader-f16.

KeypointDetectorModel = {}

LoadOptions = {}

Promise<KeypointDetector>