Leadtools.Forms.Ocr Namespace : OcrOmrZoneState Enumeration |
[SerializableAttribute()] public enum OcrOmrZoneState : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
'Declaration <SerializableAttribute()> Public Enum OcrOmrZoneState Inherits System.Enum Implements System.IComparable, System.IConvertible, System.IFormattable
'Usage Dim instance As OcrOmrZoneState
[SerializableAttribute()] public enum OcrOmrZoneState : System.IComparable, System.IConvertible, System.IFormattable
Leadtools.Forms.Ocr.OcrOmrZoneState = function() { }; Leadtools.Forms.Ocr.OcrOmrZoneState.prototype = {
LeadtoolsMemberMarker(replace me) };
[SerializableAttribute()] public enum class OcrOmrZoneState : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Member | Description |
---|---|
Filled | The mark is filled (or checked). |
Unfilled | The mark is unfilled (or unchecked). |
OMR stands for Optical Mark Recognition. For more information refer to Using OMR in LEADTOOLS .NET OCR.
After you call IOcrPage.Recognize, all the OMR zones in the page will have the OMR properties updated as follows:
Property | Description |
---|---|
OcrZone.OmrState | Either OcrOmrZoneState.Filled if the mark is recognized to be filled or checked, or OcrOmrZoneState.Unfilled if the mark is recognized to be unfilled or unchecked. |
OcrZone.OmrConfidence | A number between 0 and 100 (where 100 is maximum confidence) that specifies the OCR engine confidence in the recognition status in OcrZone.OmrState. |
The OMR zones of a page are zones with the following properties:
Property | Value |
---|---|
OcrZone.FillMethod | Set to OcrZoneFillMethod.Omr |
OcrZone.RecognitionModule | Set to OcrZoneRecognitionModule.Omr |
All LEADTOOLS OCR engines support OMR. However, there is no current support for auto-detecting OMR zones in a page, you have to add the OMR zones manually to the page by setting their boundary (through OcrZone.Bounds, the fill method and recognition module as described above and adding the zone to the page using the IOcrPage.Zones collection before calling IOcrPage.Recognize.
To use OMR in LEADTOOLS, you need a special key to unlock the OMR capabilities. For more information, refer to Unlocking Special LEAD Features.
System.Object
System.ValueType
System.Enum
Leadtools.Forms.Ocr.OcrOmrZoneState
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
Leadtools.Forms.Ocr Namespace
IOcrOmrOptions Interface
OcrEngineManager Class
OcrEngineType Enumeration
IOcrPageCollection Interface
IOcrZoneCollection Interface
OcrZone Structure
OcrZoneRecognitionModule Enumeration
OcrZoneFillMethod Enumeration
Programming with the LEADTOOLS .NET OCR
Using OMR in LEADTOOLS .NET OCR
Unlocking Special LEAD Features