SBSDKGenericDocumentRecognizerViewControllerDelegate
@protocol SBSDKGenericDocumentRecognizerViewControllerDelegate <NSObject>
The delegate protocol for the SBSDKGenericDocumentRecognizerViewController.
-
Informs the delegate that a document has been recognized successfully.
Declaration
Objective-C
- (void)documentRecognizerViewController: (nonnull SBSDKGenericDocumentRecognizerViewController *)controller didRecognizeResult: (nonnull SBSDKGenericDocumentRecognitionResult *) result onImage:(nonnull UIImage *)image;
Swift
func documentRecognizerViewController(_ controller: SBSDKGenericDocumentRecognizerViewController, didRecognizeResult result: SBSDKGenericDocumentRecognitionResult, on image: UIImage)
Parameters
controller
The SBSDKGenericDocumentRecognizerViewController instance that recognized the document.
result
The recognition result.
image
The original image where the document has been recognized on.