MBCOcrRecognizerRunnerDelegate
Objective-C
@protocol MBCOcrRecognizerRunnerDelegate <NSObject>
Swift
protocol MBCOcrRecognizerRunnerDelegate
Protocol for obtaining ocr results
-
Called when Scanning library has MBCOcrLayout available and ready to be displayed on UI. NOTE: This method is called on background processing thread. Make sure that you dispatch all your UI API calls to main thread.
Declaration
Objective-C
- (void)recognizerRunner:(nonnull MBCRecognizerRunner *)recognizerRunner didObtainOcrResult:(nonnull MBCOcrLayout *)ocrResult withResultName:(nonnull NSString *)resultName;
Swift
func recognizerRunner(_ recognizerRunner: MBCRecognizerRunner, didObtainOcrResult ocrResult: MBCOcrLayout, withResultName resultName: Any!)