LEADTOOLS OCR (Leadtools.Forms.Ocr assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
OcrOmrZoneState Enumeration
See Also  
Leadtools.Forms.Ocr Namespace : OcrOmrZoneState Enumeration



The OcrOmrZoneState Enumeration is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.

The zone OMR recognition state.

Syntax

Visual Basic (Declaration) 
<SerializableAttribute()>
Public Enum OcrOmrZoneState 
   Inherits System.Enum
   Implements IComparableIConvertibleIFormattable 
Visual Basic (Usage)Copy Code
Dim instance As OcrOmrZoneState
C# 
[SerializableAttribute()]
public enum OcrOmrZoneState : System.Enum, IComparableIConvertibleIFormattable  
C++/CLI 
[SerializableAttribute()]
public enum class OcrOmrZoneState : public System.Enum, IComparableIConvertibleIFormattable  

Members

MemberDescription
FilledThe mark is filled (or checked).
UnfilledThe mark is unfilled (or unchecked).

Example

For an example, refer to IOcrOmrOptions.

Remarks

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.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.Forms.Ocr.OcrOmrZoneState

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

OcrOmrZoneState requires an OCR module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features