L_OcrProgressOperation

enum L_OcrProgressOperation 
{ 
   L_OcrProgressOperation_LoadImage, 
   L_OcrProgressOperation_SaveImage, 
   L_OcrProgressOperation_PreprocessImage, 
   L_OcrProgressOperation_AutoZone, 
   L_OcrProgressOperation_Recognize, 
   L_OcrProgressOperation_SaveDocumentPrepare, 
   L_OcrProgressOperation_SaveDocument, 
   L_OcrProgressOperation_SaveDocumentConvertImage, 
   L_OcrProgressOperation_Formatting, 
   L_OcrProgressOperation_RecognizeOMR, 
   L_OcrProgressOperation_Last = L_OcrProgressOperation_RecognizeOMR 
}; 
typedef enum L_OcrProgressOperation L_OcrProgressOperation; 

OCR progress callback operation identification.

Value Meaning
L_OcrProgressOperation_LoadImage Image load operation. Currently not used by the engine since it is the user's responsibility to load the bitmap and create L_OcrPage from it.
L_OcrProgressOperation_SaveImage Image save operation. Currently not used since there is no page export functionality in the LTOCR toolkit.
L_OcrProgressOperation_PreprocessImage Image preprocessing operation. Used when L_OcrPage_AutoPreprocess is called.
L_OcrProgressOperation_AutoZone Page-layout decomposition operation. Used when L_OcrPage_AutoZone is called.
L_OcrProgressOperation_Recognize Recognition operation that can be used when L_OcrPage_Recognize is called.
L_OcrProgressOperation_SaveDocumentPrepare Document preparation operation. Used when L_OcrDocument_Save or L_OcrDocument_SaveAsync is called.
L_OcrProgressOperation_SaveDocument Document save operation. Used when L_OcrDocument_Save or L_OcrDocument_SaveAsync is called.
L_OcrProgressOperation_SaveDocumentConvertImage Document image conversion operation. Used when L_OcrDocument_Save or L_OcrDocument_SaveAsync is called.
L_OcrProgressOperation_Formatting Format the document before saving. Used when L_OcrDocument_Save or L_OcrDocument_SaveAsync is called.
L_OcrProgressOperation_RecognizeOMR OMR zone recognition operation. Used when L_OcrPage_Recognize is called on a page with zones containing L_OcrZoneType_OMR.
L_OcrProgressOperation_Last The *_Last member value is the same as the previous enumeration value.

Comments

This enumerated type is used by the following structure:

L_OcrProgressData

L_OcrProgressOperation is the value of L_OcrProgressData.Operation. Use this value to examine the current operation of the process.

Each operation listed represents one of the fundamental services provided by the OCR engine. Any application program will use at least some of these processes.

Each operation can be initiated by the methods shown. L_OcrProgressCallback can be used to generate progress monitoring on any of these operations.

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

LEADTOOLS OCR Module - LEAD Engine C API Help