Options to configure the MediaPipe Face Detector Task
Signature:
export declare interface FaceDetectorOptions extends VisionTaskOptions
Extends: VisionTaskOptions
Properties
Property | Type | Description |
---|---|---|
minDetectionConfidence | number | undefined | The minimum confidence score for the face detection to be considered successful. Defaults to 0.5. |
minSuppressionThreshold | number | undefined | The minimum non-maximum-suppression threshold for face detection to be considered overlapped. Defaults to 0.3. |
FaceDetectorOptions.minDetectionConfidence
The minimum confidence score for the face detection to be considered successful. Defaults to 0.5.
Signature:
minDetectionConfidence?: number | undefined;
FaceDetectorOptions.minSuppressionThreshold
The minimum non-maximum-suppression threshold for face detection to be considered overlapped. Defaults to 0.3.
Signature:
minSuppressionThreshold?: number | undefined;