<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Vision",
  "identifier" : "/documentation/Vision/VNDetectHumanRectanglesRequest",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Vision"
    ],
    "preciseIdentifier" : "c:objc(cs)VNDetectHumanRectanglesRequest"
  },
  "title" : "VNDetectHumanRectanglesRequest"
}
-->

# VNDetectHumanRectanglesRequest

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

```
class VNDetectHumanRectanglesRequest
```

## Topics

### Configuring the Request

[`upperBodyOnly`](/documentation/Vision/VNDetectHumanRectanglesRequest/upperBodyOnly)

A Boolean value that indicates whether the request requires detecting a full body or upper body only to produce a result.

### Accessing the Results

[`results`](/documentation/Vision/VNDetectHumanRectanglesRequest/results)

The results of the request to find rectangular regions that contain people in an image.

### Identifying Request Revisions

[`VNDetectHumanRectanglesRequestRevision2`](/documentation/Vision/VNDetectHumanRectanglesRequestRevision2)

A constant for specifying revision 2 of the human rectangles detection request.

[`VNDetectHumanRectanglesRequestRevision1`](/documentation/Vision/VNDetectHumanRectanglesRequestRevision1)

A constant for specifying revision 1 of the human rectangles detection request.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)