Contents

addRequest(_:processingOptions:)

Adds a request with processing options to the video processor.

Declaration

func addRequest(_ request: VNRequest, processingOptions: VNVideoProcessor.RequestProcessingOptions) throws

Parameters

  • request:

    The Vision request to add.

  • processingOptions:

    The processing options to apply.

Discussion

Call this method either before calling analyze(_:) or from within the completion handler of an already associated request.

See Also

Performing Requests