addSampleBuffer: method of the RTRRecognitionService protocol

Sends the video frame obtained from camera to the service.

Call this method to pass on the video sample buffer received by an AVCaptureVideoDataOutputSampleBufferDelegate object via the captureOutput:didOutputSampleBuffer:fromConnection: method. The service will pick the frames it needs from the sequence of the frames you supply.

 Note: The video output must be configured to use the kCVPixelFormatType_32BGRA video pixel format. Other pixel formats are currently not supported.

- (void)addSampleBuffer:(CMSampleBufferRef)sampleBuffer;

Parameters

sampleBuffer
A CMSampleBuffer object containing the video frame data.

02.03.2022 12:59:15

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.