<br />

Options to configure the MediaPipe FaceLandmarker Task

**Signature:**

    export declare interface FaceLandmarkerOptions extends VisionTaskOptions 

## Properties

| Property | Modifiers | Type | Description |
|---|---|---|---|
| [numFaces](https://developers.google.com/edge/api/mediapipe/js/tasks-vision.facelandmarkeroptions#facelandmarkeroptionsnumfaces) |   | number \| undefined | The maximum number of faces can be detected by the FaceLandmarker. Defaults to 1. |
| [minFaceDetectionConfidence](https://developers.google.com/edge/api/mediapipe/js/tasks-vision.facelandmarkeroptions#facelandmarkeroptionsminfacedetectionconfidence) |   | number \| undefined | The minimum confidence score for the face detection to be considered successful. Defaults to 0.5. |
| [minFacePresenceConfidence](https://developers.google.com/edge/api/mediapipe/js/tasks-vision.facelandmarkeroptions#facelandmarkeroptionsminfacepresenceconfidence) |   | number \| undefined | The minimum confidence score of face presence score in the face landmark detection. Defaults to 0.5. |
| [minTrackingConfidence](https://developers.google.com/edge/api/mediapipe/js/tasks-vision.facelandmarkeroptions#facelandmarkeroptionsmintrackingconfidence) |   | number \| undefined | The minimum confidence score for the face tracking to be considered successful. Defaults to 0.5. |
| [outputFaceBlendshapes](https://developers.google.com/edge/api/mediapipe/js/tasks-vision.facelandmarkeroptions#facelandmarkeroptionsoutputfaceblendshapes) |   | boolean \| undefined | Whether FaceLandmarker outputs face blendshapes classification. Face blendshapes are used for rendering the 3D face model. |
| [outputFacialTransformationMatrixes](https://developers.google.com/edge/api/mediapipe/js/tasks-vision.facelandmarkeroptions#facelandmarkeroptionsoutputfacialtransformationmatrixes) |   | boolean \| undefined | Whether FaceLandmarker outputs facial transformation_matrix. Facial transformation matrix is used to transform the face landmarks in canonical face to the detected face, so that users can apply face effects on the detected landmarks. |

## FaceLandmarkerOptions.numFaces {#facelandmarkeroptionsnumfaces}

The maximum number of faces can be detected by the FaceLandmarker. Defaults to 1.

**Signature:**

    numFaces?: number | undefined;

## FaceLandmarkerOptions.minFaceDetectionConfidence {#facelandmarkeroptionsminfacedetectionconfidence}

The minimum confidence score for the face detection to be considered successful. Defaults to 0.5.

**Signature:**

    minFaceDetectionConfidence?: number | undefined;

## FaceLandmarkerOptions.minFacePresenceConfidence {#facelandmarkeroptionsminfacepresenceconfidence}

The minimum confidence score of face presence score in the face landmark detection. Defaults to 0.5.

**Signature:**

    minFacePresenceConfidence?: number | undefined;

## FaceLandmarkerOptions.minTrackingConfidence {#facelandmarkeroptionsmintrackingconfidence}

The minimum confidence score for the face tracking to be considered successful. Defaults to 0.5.

**Signature:**

    minTrackingConfidence?: number | undefined;

## FaceLandmarkerOptions.outputFaceBlendshapes {#facelandmarkeroptionsoutputfaceblendshapes}

Whether FaceLandmarker outputs face blendshapes classification. Face blendshapes are used for rendering the 3D face model.

**Signature:**

    outputFaceBlendshapes?: boolean | undefined;

## FaceLandmarkerOptions.outputFacialTransformationMatrixes {#facelandmarkeroptionsoutputfacialtransformationmatrixes}

Whether FaceLandmarker outputs facial transformation_matrix. Facial transformation matrix is used to transform the face landmarks in canonical face to the detected face, so that users can apply face effects on the detected landmarks.

**Signature:**

    outputFacialTransformationMatrixes?: boolean | undefined;