Initializer

init(detectedObjectObservation:completionHandler:)

Creates a new object tracking request with a detected object observation.

Declaration

init(detectedObjectObservation observation: VNDetectedObjectObservation, completionHandler: VNRequestCompletionHandler? = nil)

Parameters

observation

A detected object observation with bounding box information.

completionHandler

The block to invoke after performing the request.

See Also

Initializing an Object Tracking Request

init(detectedObjectObservation: VNDetectedObjectObservation)

Creates a new object tracking request with a detected object observation.