Contents

init(topLeft:topRight:bottomRight:bottomLeft:)

Creates a rectangle observation from its corner points.

Declaration

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

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