Type Alias: KeypointDetection<F, L>
KeypointDetection<
F,L> =object
Defined in: extensions/cv/tasks/keypointDetection.ts:102
Result structure representing a single detected bounding box and its associated landmarks.
Type Parameters
F
F extends BoxFormat
L
L extends PropertyKey
Properties
box
readonlybox:BoundingBox<F>
Defined in: extensions/cv/tasks/keypointDetection.ts:104
Scaled bounding box coordinates matching the input image resolution.
confidence
readonlyconfidence:number
Defined in: extensions/cv/tasks/keypointDetection.ts:110
Overall confidence score of the detection (between 0.0 and 1.0). When several boxes are merged by NMS, this is the highest score in the merged group, so it does not depend on how many low-scoring boxes were absorbed.
landmarks
readonlylandmarks:Landmarks<L>
Defined in: extensions/cv/tasks/keypointDetection.ts:112
Map of landmark names to their scaled pixel coordinates and individual confidence scores.