---
title: "init(boundingBox:)"
framework: vision
role: symbol
role_heading: Initializer
path: "vision/vndetectedobjectobservation/init(boundingbox:)"
---

# init(boundingBox:)

Creates an observation with a bounding box.

## Declaration

```swift
convenience init(boundingBox: CGRect)
```

## Parameters

- `boundingBox`: The observation’s bounding box, in coordinates normalized to the dimensions of the processed image, with its origin at the image’s lower-left corner.

## See Also

### Creating an Observation

- [init(requestRevision:boundingBox:)](vision/vndetectedobjectobservation/init(requestrevision:boundingbox:).md)
