FrameProcessor
public protocol FrameProcessor
Allows to modify every session frame before sending to server
-
Override this method to be able to modify frame
Declaration
Swift
func processFrame(sampleBuffer: CMSampleBuffer, completion: @escaping (CMSampleBuffer) -> Void)
Parameters
sampleBuffer
Input Captured Frame
completion
Should be called with modified
CMSampleBuffer