L_OcrAutoRecognizeManager job operations.
enum L_OcrAutoRecognizeManagerJobOperation
{
L_OcrAutoRecognizeManagerJobOperation_Other,
L_OcrAutoRecognizeManagerJobOperation_CreateDocument,
L_OcrAutoRecognizeManagerJobOperation_LoadPage,
L_OcrAutoRecognizeManagerJobOperation_PreprocessPage,
L_OcrAutoRecognizeManagerJobOperation_ZonePage,
L_OcrAutoRecognizeManagerJobOperation_RecognizePage,
L_OcrAutoRecognizeManagerJobOperation_SavePage,
L_OcrAutoRecognizeManagerJobOperation_Append,
L_OcrAutoRecognizeManagerJobOperation_ConvertDocument
};
typedef enum L_OcrAutoRecognizeManagerJobOperation L_OcrAutoRecognizeManagerJobOperation;
Other operation, such as unexpected and unrecoverable errors.
The L_OcrAutoRecognizeManager is creating a document with L_OcrDocumentManager_CreateDocument.
Loading the BITMAPHANDLE of a page using L_LoadFile. The page is then created using L_OcrEngine_CreatePage.
Preprocessing a page using L_OcrPage_AutoPreprocess.
Zoning a page using L_OcrPage_AutoZone or L_OcrPage_LoadZone. Note that when using the L_OcrAutoRecognizeJobOperationCallback, you can use this operation to zone the page manually as shown in the L_OcrAutoRecognizeManager_SetJobOperationCallback example.
Recognizing a page using L_OcrPage_Recognize.
Saving a page using L_OcrDocument_Save or L_OcrDocument_SaveAsync.
Appending multiple LTD's.
Converting a document to its final format.
Used as type for the following properties:
The L_OcrAutoRecognizeManagerJobError.Operation property to indicate the operation that cause the error.
You can set L_OcrAutoRecognizeManagerOptions.JobErrorMode to L_OcrAutoRecognizeManagerJobErrorMode_Continue to log and continue when a none critical error occurs during the recognition process. The following errors are considered unrecoverable and the recognition will fail regardless on the current error mode: L_OcrAutoRecognizeManagerJobOperation_Other, L_OcrAutoRecognizeManagerJobOperation_CreateDocument, L_OcrAutoRecognizeManagerJobOperation_LoadPage, L_OcrAutoRecognizeManagerJobOperation_SavePage, L_OcrAutoRecognizeManagerJobOperation_Append and L_OcrAutoRecognizeManagerJobOperation_ConvertDocument.
The L_OcrAutoRecognizeManagerJobError.Operation property to indicate the operation being run.
L_OcrAutoRecognizeManager allows you to modify the bitmap handle, OCR page or OCR document during some parts of the operation. Refer to L_OcrAutoRecognizeJobOperationCallbackData.PageBitmap for more information and example.