init(rectangleObservation:completionHandler:)
Creates a new rectangle tracking request with a rectangle observation.
Declaration
init(rectangleObservation observation: VNRectangleObservation, completionHandler: VNRequestCompletionHandler? = nil)Parameters
- observation:
A rectangle observation with bounding box and corner location information.
- completionHandler:
The block to invoke after performing the request.