Skip to main content
Version: 0.10.0

Type Alias: KeypointDetectorOptions<F, L>

KeypointDetectorOptions<F, L> = Omit<ImagePreprocessorOptions, "resizeMode"> & object

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

Options for configuring a keypoint detector runner.

Type Declaration

boxFormat

readonly boxFormat: F

How bounding box coordinates are interpreted BoxFormat.

defaultConfidenceThreshold

readonly defaultConfidenceThreshold: number

Default minimum confidence score threshold for keypoint detections.

defaultIouThreshold

readonly defaultIouThreshold: number

Default Intersection over Union (IoU) threshold for Non-Maximum Suppression (NMS).

landmarks

readonly landmarks: readonly L[]

Array of landmark names matching the model output keypoint locations.

resizeMode

readonly resizeMode: Exclude<ResizeMode, "crop">

Resize mode for preprocessing input images (excluding 'crop').

Type Parameters

F

F extends BoxFormat

L

L extends PropertyKey