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

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

Creates a rectangle observation from its corner points.

## Declaration

```swift
init(topLeft: NormalizedPoint, topRight: NormalizedPoint, bottomRight: NormalizedPoint, bottomLeft: NormalizedPoint)
```

## Discussion

Discussion The framework normalizes the coordinates of the rectangle to the dimensions of the processed image, with the origin at the bottom-left corner of the image.

## See Also

### Creating an observation

- [init(_:)](vision/rectangleobservation/init(_:).md)
