---
title: VNDetectHumanRectanglesRequest
framework: vision
role: symbol
role_heading: Class
path: vision/vndetecthumanrectanglesrequest
---

# VNDetectHumanRectanglesRequest

A request that finds rectangular regions that contain people in an image.

## Declaration

```swift
class VNDetectHumanRectanglesRequest
```

## Topics

### Configuring the Request

- [upperBodyOnly](vision/vndetecthumanrectanglesrequest/upperbodyonly.md)

### Accessing the Results

- [results](vision/vndetecthumanrectanglesrequest/results.md)

### Identifying Request Revisions

- [VNDetectHumanRectanglesRequestRevision2](vision/vndetecthumanrectanglesrequestrevision2.md)
- [VNDetectHumanRectanglesRequestRevision1](vision/vndetecthumanrectanglesrequestrevision1.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)
- [VNDetectFaceRectanglesRequest](vision/vndetectfacerectanglesrequest.md)
- [VNHumanObservation](vision/vnhumanobservation.md)
