Initializer

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

A convenience initializer for creating a rectangle observation from its corner points.

Declaration

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.