---
title: "init(requestRevision:topLeft:bottomLeft:bottomRight:topRight:)"
framework: vision
role: symbol
role_heading: Initializer
path: "vision/vnrectangleobservation/init(requestrevision:topleft:bottomleft:bottomright:topright:)"
---

# init(requestRevision:topLeft:bottomLeft:bottomRight:topRight:)

Creates a rectangle observation from its corner points.

## Declaration

```swift
convenience init(requestRevision: Int, topLeft: CGPoint, bottomLeft: CGPoint, bottomRight: CGPoint, topRight: CGPoint)
```

## Parameters

- `requestRevision`: The rectangle detector revision number. A higher revision indicates more recent iterations of the framework.
- `topLeft`: The upper-left corner point.
- `bottomLeft`: The lower-left corner point.
- `bottomRight`: The lower-right corner point.
- `topRight`: The upper-right corner point.

## See Also

### Creating an Observation

- [init(requestRevision:topLeft:topRight:bottomRight:bottomLeft:)](vision/vnrectangleobservation/init(requestrevision:topleft:topright:bottomright:bottomleft:).md)
