---
title: DetectFaceRectanglesRequest
framework: vision
role: symbol
role_heading: Structure
path: vision/detectfacerectanglesrequest
---

# DetectFaceRectanglesRequest

A request that finds faces within an image.

## Declaration

```swift
struct DetectFaceRectanglesRequest
```

## Overview

Overview The request returns the resulting rectangle data in a collection of FaceObservation objects.

## Topics

### Creating a request

- [init(_:)](vision/detectfacerectanglesrequest/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)

### Getting the revision

- [revision](vision/detectfacerectanglesrequest/revision-swift.property.md)
- [supportedRevisions](vision/detectfacerectanglesrequest/supportedrevisions.md)
- [DetectFaceRectanglesRequest.Revision](vision/detectfacerectanglesrequest/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)
- [DetectFaceLandmarksRequest](vision/detectfacelandmarksrequest.md)
