Instance Method

initWithDetectedObjectObservation:completionHandler:

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

Declaration

- (instancetype)initWithDetectedObjectObservation:(VNDetectedObjectObservation *)observation completionHandler:(VNRequestCompletionHandler)completionHandler;

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

- initWithDetectedObjectObservation:

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