perform(on:orientation:)
Performs the request on a pixel buffer and produces observations.
Declaration
func perform(on pixelBuffer: CVPixelBuffer, orientation: CGImagePropertyOrientation?) async throws -> Self.ResultParameters
- 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.