---
title: upperBodyOnly
framework: vision
role: symbol
role_heading: Instance Property
path: vision/vndetecthumanrectanglesrequest/upperbodyonly
---

# upperBodyOnly

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

## Declaration

```swift
var upperBodyOnly: Bool { get set }
```

## Discussion

Discussion The default value of true indicates that the request requires detecting a person’s upper body only to find the bound box around it.
