Skip to main content
Version: 0.10.0

Type Alias: KeypointDetectorModel<F, L>

KeypointDetectorModel<F, L> = object

Defined in: extensions/cv/tasks/keypointDetection.ts:45

Model configuration required to instantiate a keypoint detector task runner.

Type Parameters​

F​

F extends BoxFormat

L​

L extends PropertyKey

Properties​

modelOpts​

readonly modelOpts: KeypointDetectorOptions<F, L>

Defined in: extensions/cv/tasks/keypointDetection.ts:53

Image preprocessing, landmark names, bounding box format, and default NMS/confidence thresholds. See KeypointDetectorOptions.


modelPath​

readonly modelPath: string

Defined in: extensions/cv/tasks/keypointDetection.ts:47

Local path or remote URL of the .pte model file.