L_OcrAutoRecognizeManagerJobOperation

Summary

L_OcrAutoRecognizeManager job operations.

Syntax

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; 

Members

L_OcrAutoRecognizeManagerJobOperation_Other

Other operation, such as unexpected and unrecoverable errors.

L_OcrAutoRecognizeManagerJobOperation_CreateDocument

The L_OcrAutoRecognizeManager is creating a document with L_OcrDocumentManager_CreateDocument.

L_OcrAutoRecognizeManagerJobOperation_LoadPage

Loading the BITMAPHANDLE of a page using L_LoadFile. The page is then created using L_OcrEngine_CreatePage.

L_OcrAutoRecognizeManagerJobOperation_PreprocessPage

Preprocessing a page using L_OcrPage_AutoPreprocess.

L_OcrAutoRecognizeManagerJobOperation_ZonePage

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.

L_OcrAutoRecognizeManagerJobOperation_RecognizePage

Recognizing a page using L_OcrPage_Recognize.

L_OcrAutoRecognizeManagerJobOperation_SavePage

Saving a page using L_OcrDocument_Save or L_OcrDocument_SaveAsync.

L_OcrAutoRecognizeManagerJobOperation_Append

Appending multiple LTD's.

L_OcrAutoRecognizeManagerJobOperation_ConvertDocument

Converting a document to its final format.

Comments

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.

Usage

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS OCR Module - LEAD Engine C API Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.