<!--
{
  "availability" : [
    "iOS: 13.0.0 - 17.0.0",
    "iPadOS: 13.0.0 - 17.0.0",
    "macCatalyst: 13.1.0 - 17.0.0",
    "macOS: 10.15.0 - 14.0.0",
    "tvOS: 13.0.0 - 17.0.0",
    "visionOS: 1.0.0 - 1.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "Vision",
  "identifier" : "/documentation/Vision/VNRectangleObservation/init(requestRevision:topLeft:bottomLeft:bottomRight:topRight:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Vision"
    ],
    "preciseIdentifier" : "c:objc(cs)VNRectangleObservation(cm)rectangleObservationWithRequestRevision:topLeft:bottomLeft:bottomRight:topRight:"
  },
  "title" : "init(requestRevision:topLeft:bottomLeft:bottomRight:topRight:)"
}
-->

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

Creates a rectangle observation from its corner points.

```
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.

## Discussion

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)