Developer's Documentation for free mobile OCR SDK

Documentation Menu

createTextCaptureServiceWithDelegate method of the RTREngine class

Creates a background recognition service to run in text capture mode. Only one instance of the service per application is necessary: multiple threads for processing will be started internally.

Before a call to this method, implement the RTRTextCaptureServiceDelegate protocol to work with processing results and handle warnings or errors.

- (id<RTRTextCaptureService>)createTextCaptureServiceWithDelegate:(id<RTRTextCaptureServiceDelegate>)delegate;
- (id<RTRTextCaptureService>)createTextCaptureServiceWithDelegate:(id<RTRTextCaptureServiceDelegate>)delegate
           settings:(RTRExtendedSettings*)settings;

Parameters

delegate

The delegate object implementing the RTRTextCaptureServiceDelegate protocol for interacting with the service.

settings

[optional] The extended service configuration settings represented by an RTRExtendedSettings object.

Return values

The method returns an instance implementing the RTRTextCaptureService protocol.