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 its the user responsibility to load the bimap 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 may be used when L_OcrPage_Recognize is called. |
L_OcrProgressOperation_SaveDocumentPrepare | Prepare the document operation. Used when L_OcrDocument_Save or L_OcrDocument_SaveAsync is called. |
L_OcrProgressOperation_SaveDocument | Save document operation. Used when L_OcrDocument_Save or L_OcrDocument_SaveAsync is called. |
L_OcrProgressOperation_SaveDocumentConvertImage | Convert the document images 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 | Recognizing OMR zones operation. Used when L_OcrPage_Recognize is called on a page with zones containing L_OcrZoneType_OMR. |
This enumerated type is used by the following structure:
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.