Addon.OCRPro.RecognizeSelectedImages

Description

Performs OCR on the currently selected images in the buffer.

Syntax

.Addon.OCRPro.RecognizeSelectedImages(asyncSuccessFunc, asyncFailureFunc);

Parameters

<OnOCRSelectedImagesSuccess function> asyncSuccessFunc: callback function triggered when OCR is executed successfully. This is where you get the OCR result.

OnOCRSelectedImagesSuccess Function Prototype
OCRResult Result The OCR result for the image.

<OnOCRFailure function> AsyncFailureFunc: callback function triggered when executing OCR fails.

OnOCRFailure Function Prototype
int ErrorCode Returns the error code.
string ErrorString Returns the error string.
OCRResult Result The OCR result for the image.