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