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
readonlyboxFormat:F
How bounding box coordinates are interpreted BoxFormat.
defaultConfidenceThreshold
readonlydefaultConfidenceThreshold:number
Default minimum confidence score threshold for keypoint detections.
defaultIouThreshold
readonlydefaultIouThreshold:number
Default Intersection over Union (IoU) threshold for Non-Maximum Suppression (NMS).
landmarks
readonlylandmarks: readonlyL[]
Array of landmark names matching the model output keypoint locations.
resizeMode
readonlyresizeMode:Exclude<ResizeMode,"crop">
Resize mode for preprocessing input images (excluding 'crop').
Type Parameters
F
F extends BoxFormat
L
L extends PropertyKey