---
title: VNDetectFaceRectanglesRequest
framework: vision
role: symbol
role_heading: Class
path: vision/vndetectfacerectanglesrequest
---

# VNDetectFaceRectanglesRequest

A request that finds faces within an image.

## Declaration

```swift
class VNDetectFaceRectanglesRequest
```

## Overview

Overview This request returns faces as rectangular bounding boxes with origin and size.

## Topics

### Accessing the Results

- [results](vision/vndetectfacerectanglesrequest/results.md)
- [VNFaceObservation](vision/vnfaceobservation.md)

### Identifying Request Revisions

- [VNDetectFaceRectanglesRequestRevision3](vision/vndetectfacerectanglesrequestrevision3.md)
- [VNDetectFaceRectanglesRequestRevision2](vision/vndetectfacerectanglesrequestrevision2.md)
- [VNDetectFaceRectanglesRequestRevision1](vision/vndetectfacerectanglesrequestrevision1.md)

## Relationships

### Inherits From

- [VNImageBasedRequest](vision/vnimagebasedrequest.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Face and body detection

- [Selecting a selfie based on capture quality](vision/selecting-a-selfie-based-on-capture-quality.md)
- [VNDetectFaceCaptureQualityRequest](vision/vndetectfacecapturequalityrequest.md)
- [VNDetectFaceLandmarksRequest](vision/vndetectfacelandmarksrequest.md)
- [VNDetectHumanRectanglesRequest](vision/vndetecthumanrectanglesrequest.md)
- [VNHumanObservation](vision/vnhumanobservation.md)
