Initializer

init(rectangleObservation:)

Creates a new rectangle tracking request with a rectangle observation.

Declaration

convenience init(rectangleObservation observation: VNRectangleObservation)

Parameters

observation

A rectangle observation with bounding box and corner location information.

See Also

Initializing a Rectangle Tracking Request

init(rectangleObservation: VNRectangleObservation, completionHandler: VNRequestCompletionHandler?)

Creates a new rectangle tracking request with a rectangle observation.