<br />

Options to configure the MediaPipe FaceLandmarker Task

**Signature:**

```typescript
export declare interface FaceLandmarkerOptions extends VisionTaskOptions 
```

## Properties

| Property | Modifiers | Type | Description |
|---|---|---|---|
| [numFaces](https://developers.google.com/edge/api/mediapipe/js/tasks-vision.facelandmarkeroptions.md.txt#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.md.txt#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.md.txt#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.md.txt#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.md.txt#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.md.txt#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

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

**Signature:**

```typescript
numFaces?: number | undefined;
```

## FaceLandmarkerOptions.minFaceDetectionConfidence

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

**Signature:**

```typescript
minFaceDetectionConfidence?: number | undefined;
```

## FaceLandmarkerOptions.minFacePresenceConfidence

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

**Signature:**

```typescript
minFacePresenceConfidence?: number | undefined;
```

## FaceLandmarkerOptions.minTrackingConfidence

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

**Signature:**

```typescript
minTrackingConfidence?: number | undefined;
```

## FaceLandmarkerOptions.outputFaceBlendshapes

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

**Signature:**

```typescript
outputFaceBlendshapes?: boolean | undefined;
```

## FaceLandmarkerOptions.outputFacialTransformationMatrixes

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:**

```typescript
outputFacialTransformationMatrixes?: boolean | undefined;
```