---
title: DetectFaceLandmarksRequest
framework: vision
role: symbol
role_heading: Structure
path: vision/detectfacelandmarksrequest
---

# DetectFaceLandmarksRequest

An image-analysis request that finds facial features like eyes and mouth in an image.

## Declaration

```swift
struct DetectFaceLandmarksRequest
```

## Overview

Overview By default, a request for face landmarks first locates all faces in the input image, then analyzes each to detect facial features. If you already located all the faces in an image, or want to detect landmarks in only a subset of the faces in the image, set the inputFaceObservations property to an array of FaceObservation objects representing the faces you want to analyze. You can either use face observations output by a DetectFaceRectanglesRequest or manually create FaceObservation instances with the bounding boxes of the faces you want to analyze.

## Topics

### Creating a request

- [init(_:)](vision/detectfacelandmarksrequest/init(_:).md)

### Performing a request

- [perform(on:orientation:)](vision/imageprocessingrequest/perform(on:orientation:)-80bya.md)
- [perform(on:orientation:)](vision/imageprocessingrequest/perform(on:orientation:)-3f3f1.md)
- [perform(on:orientation:)](vision/imageprocessingrequest/perform(on:orientation:)-qxxx.md)
- [perform(on:orientation:)](vision/imageprocessingrequest/perform(on:orientation:)-xspx.md)
- [perform(on:orientation:)](vision/imageprocessingrequest/perform(on:orientation:)-3hddl.md)
- [perform(on:orientation:)](vision/imageprocessingrequest/perform(on:orientation:)-85ex1.md)

### Understanding the result

- [FaceObservation](vision/faceobservation.md)

### Configuring a request

- [inputFaceObservations](vision/detectfacelandmarksrequest/inputfaceobservations.md)

### Getting the revision

- [revision](vision/detectfacelandmarksrequest/revision-swift.property.md)
- [supportedRevisions](vision/detectfacelandmarksrequest/supportedrevisions.md)
- [DetectFaceLandmarksRequest.Revision](vision/detectfacelandmarksrequest/revision-swift.enum.md)

## Relationships

### Conforms To

- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [ImageProcessingRequest](vision/imageprocessingrequest.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [VisionRequest](vision/visionrequest.md)

## See Also

### Facial analysis

- [Analyzing a selfie and visualizing its content](vision/analyzing-a-selfie-and-visualizing-its-content.md)
- [DetectFaceCaptureQualityRequest](vision/detectfacecapturequalityrequest.md)
- [DetectFaceRectanglesRequest](vision/detectfacerectanglesrequest.md)
