L_OcrProgressOperation

Summary

OCR progress callback operation identification.

Syntax

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; 

Members

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

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.

Usage

Help Version 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 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.