Instance Property

completionHandler

The completion handler block that’s invoked after the request has finished processing.

Declaration

var completionHandler: VNRequestCompletionHandler? { get }

Discussion

The completion handler is executed on the same dispatch queue as the request being executed.

See Also

Configuring a Request

var preferBackgroundProcessing: Bool

A hint to minimize the resource burden of the request.

var results: [Any]?

The collection of VNObservation results generated by request processing.

var usesCPUOnly: Bool

A Boolean signifying that the Vision request should execute exclusively on the CPU.

var revision: Int

The specific algorithm or implementation revision that’s used to perform the request.