Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.9
|
Leadtools.Forms.Ocr Assembly > Leadtools.Forms.Ocr Namespace > NativeOcrZone Structure : OmrState Property |
public OcrOmrZoneState OmrState {get; set;}
'Declaration
Public Property OmrState As OcrOmrZoneState
'Usage
Dim instance As NativeOcrZone Dim value As OcrOmrZoneState instance.OmrState = value value = instance.OmrState
public OcrOmrZoneState OmrState {get; set;}
public OcrOmrZoneState getOmrState() public void setOmrState(OcrOmrZoneState value)
<br/>get_OmrState();<br/>set_OmrState(value);<br/>Object.defineProperty('OmrState');
public: property OcrOmrZoneState OmrState { OcrOmrZoneState get(); void set ( OcrOmrZoneState value); }
OMR stands for Optical Mark Recognition. For more information refer to Using OMR in LEADTOOLS .NET OCR.
After IOcrPage.Recognize is called, all the OMR zones in the page will have the OMR properties updated as follows:
Property | Description |
---|---|
NativeOcrZone.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. |
NativeOcrZone.OmrConfidence | A number between 0 and 100 (where 100 is maximum confidence) that specifies the OCR engine confidence in the recognition status in NativeOcrZone.OmrState. |
The OMR zones of a page are zones with the following properties:
Property | Value |
---|---|
NativeOcrZone.FillMethod | Set to NativeOcrZoneFillMethod.Omr. |
NativeOcrZone.RecognitionModule | Set to NativeOcrZoneRecognitionModule.Omr. |
All LEADTOOLS OCR engines support OMR. However, there isn't any current support for auto-detecting OMR zones in a page. To do that, add the OMR zones manually to the page by setting their boundary (through NativeOcrZone.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.
NativeOcrZone Structure
NativeOcrZone Members
AutoZone Method
NativeOcrZoneRecognitionModule Enumeration
NativeOcrZoneFillMethod Enumeration
OcrEngineManager Class
OcrEngineType Enumeration
IOcrPageCollection Interface
IOcrZoneCollection Interface
NativeOcrZone Structure
Programming with the LEADTOOLS .NET OCR
Using OMR in LEADTOOLS .NET OCR
Unlocking Special LEAD Features