---
title: ObjectCaptureSession.CaptureState.detecting
framework: realitykit
role: symbol
role_heading: Case
path: realitykit/objectcapturesession/capturestate/detecting
---

# ObjectCaptureSession.CaptureState.detecting

The object selection box is being detected / manipulated and is not yet complete. A call to startCapturing() in this state will move the session to .capturing to begin capturing the object indicated within the currently specified bounding box.

## Declaration

```swift
case detecting
```
