Instance Property

results

The collection of VNObservation results generated by request processing.

Declaration

var results: [Any]? { get }

Discussion

If the request fails, this property is nil. Otherwise, it contains an array of VNObservation subclasses specific to the VNRequest subclass.

Don’t access this property until the request has finished processing.

See Also

Configuring a Request

var completionHandler: VNRequestCompletionHandler?

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

var preferBackgroundProcessing: Bool

A hint to minimize the resource burden of the request.

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.