Contents

perform(on:orientation:)

Performs the request on a pixel buffer and produces observations.

Declaration

func perform(on pixelBuffer: CVPixelBuffer, orientation: CGImagePropertyOrientation?) async throws -> Self.Result

Parameters

  • pixelBuffer:

    The input Cvpixelbuffer on which to perform the request.

  • orientation:

    The orientation of the input image. Default is nil.

Return Value

The observation — or list of observations — the request produces.

See Also

Performing a request