extractDataFromImage:onProgress:onTextOrientationDetected:dataScheme:error: method of the RTRDataCaptureCoreAPI protocol

Extracts data from a still image.

- (NSArray<RTRDataField*>*)extractDataFromImage:(UIImage*)image onProgress:(RTRProgressCallbackBlock)progressCallback
          onTextOrientationDetected:(RTRTextOrientationDetectedBlock)textOrientationDetectedCallback
          error:(__autoreleasing NSError**)error;

Parameters

image
The image to be recognized..
progressCallback
The callback informing you of approximate percentage of operation completed, and any warning that occurred (represented by an RTRCallbackWarningCode constant). This callback can also be used to interrupt processing: return TRUE if you wish to terminate the current operation, FALSE to continue.
textOrientationDetectedCallback
The callback informing you when the image orientation is detected. The angle parameter can take values of 0, 90, 180, and 270, and means the angle on which the image should be rotated to get normal orientation.
error
The error callback.

Return values

The method returns an array of data fields, represented by RTRDataField objects.

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.