---
title: detectedBody
framework: arkit
role: symbol
role_heading: Instance Property
path: arkit/arframe/detectedbody
---

# detectedBody

The screen position information of a body that ARKit recognizes in the camera image.

## Declaration

```swift
var detectedBody: ARBody2D? { get }
```

## Discussion

Discussion To enable 2D body detection, you add the bodyDetection frame semantic to your configuration’s frameSemantics property, or run your session with an ARBodyTrackingConfiguration, in which body detection is enabled by default.

## See Also

### Checking for people

- [ARBody2D](arkit/arbody2d.md)
- [segmentationBuffer](arkit/arframe/segmentationbuffer.md)
- [estimatedDepthData](arkit/arframe/estimateddepthdata.md)
- [ARFrame.SegmentationClass](arkit/arframe/segmentationclass.md)
