perform(on:orientation:)
Performs the request on a Core Media buffer and produces observations.
Declaration
func perform(on sampleBuffer: CMSampleBuffer, orientation: CGImagePropertyOrientation?) async throws -> Self.ResultParameters
- sampleBuffer:
The input Cmsamplebuffer 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.