Contents

perform(_:on:orientation:)

Performs one or more requests on an image of a specified orientation contained within a sample buffer.

Declaration

func perform(_ requests: [VNRequest], on sampleBuffer: CMSampleBuffer, orientation: CGImagePropertyOrientation) throws

Parameters

  • requests:

    The array of requests to perform.

  • sampleBuffer:

    A sample buffer containing a valid Imagebuffer.

  • orientation:

    The orientation of the image contained within the sample buffer.

See Also

Performing a Sequence Request