createDataCaptureServiceWithDelegate:profile: method of the RTREngine class
Creates a background recognition service to run in data capture mode. Only one instance of the service is necessary per application: multiple threads for processing will be started internally.
Before a call to this method, implement the RTRDataCaptureServiceDelegate protocol to work with processing results and handle errors and warnings.
- (id<RTRDataCaptureService>)createDataCaptureServiceWithDelegate:(id<RTRDataCaptureServiceDelegate>)delegate profile:(NSString*)profile;
- (id<RTRDataCaptureService>)createDataCaptureServiceWithDelegate:(id<RTRDataCaptureServiceDelegate>)delegate profile:(NSString*)profile
settings:(RTRExtendedSettings*)settings;
Parameters
- delegate
- The delegate object that implements the RTRDataCaptureServiceDelegate protocol for interacting with the service.
- profile
- The name of a data capture profile (data scheme) to use.
Use an empty string or nil to configure your own profile for custom data field capture with the help of the configureDataCaptureProfile method of the RTRDataCaptureService protocol. You can also configure the predefined recognition languages using this method, if the data capture profile is set to BusinessCards. - settings
- [optional] Extended service configuration settings represented by an RTRExtendedSettings object.
Return values
The method returns an instance implementing the RTRDataCaptureService protocol.
02.03.2022 12:59:15