MBIOcrRecognizerRunnerDelegate
@protocol MBIOcrRecognizerRunnerDelegate <NSObject>
Protocol for obtaining ocr results
-
Called when Scanning library has MBIOcrLayout 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 MBIRecognizerRunner *)recognizerRunner didObtainOcrResult:(nonnull MBIOcrLayout *)ocrResult withResultName:(nonnull NSString *)resultName;
Swift
func recognizerRunner(_ recognizerRunner: MBIRecognizerRunner, didObtainOcrResult ocrResult: MBIOcrLayout, withResultName resultName: Any!)