OCR progress callback operation identification.
[SerializableAttribute()]
public enum OcrProgressOperation
<SerializableAttribute()>
Public Enum OcrProgressOperation
[SerializableAttribute()]
public enum OcrProgressOperation
typedef NS_ENUM(NSInteger, LTOcrProgressOperation)
public enum OcrProgressOperation
Leadtools.Forms.Ocr.OcrProgressOperation = function() { };
Leadtools.Forms.Ocr.OcrProgressOperation.prototype = {<br/>
LoadImage = 0,
SaveImage = 1,
ProcessImage = 2,
FindZones = 3,
RecognizeFirstPass = 4,
RecognizeSecondPass = 5,
RecognizeThirdPass = 6,
SaveDocumentPrepare = 7,
SaveDocument = 8,
SaveDocumentConvertImage = 9,
Formatting = 10,
RecognizeOmr = 11,
};
[SerializableAttribute()]
public enum class OcrProgressOperation
Members
Value | Member | Description |
---|---|---|
0 | LoadImage | Image load operation. Used when pages are added to an OCR document through one of IOcrPageCollection.AddPage, IOcrPageCollection.AddPages, IOcrPageCollection.InsertPage or IOcrPageCollection.InsertPages methods. |
1 | SaveImage | Image save operation. Used when IOcrPage.Recognize is called. |
2 | ProcessImage | Image preprocessing operation. Used when IOcrPage.AutoPreprocess is called. |
3 | FindZones | Page-layout decomposition operation. Used when IOcrPage.AutoZone is called. |
4 | RecognizeFirstPass | First pass recognition operation that may be used when IOcrPage.Recognize is used with the MOR recognition module |
5 | RecognizeSecondPass | Second pass recognition operation. Used when IOcrPage.Recognize is called. |
6 | RecognizeThirdPass | Third pass recognition operation. Used when IOcrPage.Recognize is called. |
7 | SaveDocumentPrepare | Prepare the document operation. Used when IOcrDocument.Save or IOcrDocument.SaveAsync is called. |
8 | SaveDocument | Save document operation. Used when IOcrDocument.Save or IOcrDocument.SaveAsync is called. |
9 | SaveDocumentConvertImage | Convert the document images operation. Used when IOcrDocument.Save or IOcrDocument.SaveAsync is called. |
10 | Formatting | Format the document before saving. Used when IOcrDocument.Save or IOcrDocument.SaveAsync is called. |
11 | RecognizeOmr | Recognizing OMR zones operation. Used when IOcrPage.Recognize is called on a page with zones containing OcrZoneType.Omr. |
OcrProgressOperation is the value of IOcrProgressData.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. OcrProgressCallback can be used to generate progress monitoring on any of these operations.
For an example, refer to OcrProgressCallback
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET