OCR progress callback operation identification.
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;
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.
Image save operation. Currently not used since there is no page export functionality in the LTOCR toolkit.
Image preprocessing operation. Used when L_OcrPage_AutoPreprocess is called.
Page-layout decomposition operation. Used when L_OcrPage_AutoZone is called.
Recognition operation that can be used when L_OcrPage_Recognize is called.
Document preparation operation. Used when L_OcrDocument_Save or L_OcrDocument_SaveAsync is called.
Document save operation. Used when L_OcrDocument_Save or L_OcrDocument_SaveAsync is called.
Document image conversion operation. Used when L_OcrDocument_Save or L_OcrDocument_SaveAsync is called.
Format the document before saving. Used when L_OcrDocument_Save or L_OcrDocument_SaveAsync is called.
OMR zone recognition operation. Used when L_OcrPage_Recognize is called on a page with zones containing L_OcrZoneType_OMR.
The *_Last member value is the same as the previous enumeration value.
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.