Error processing SSI file
LEADTOOLS OCR (Leadtools.Forms.Ocr assembly)

Show in webframe

OmrConfidence Property








Gets or sets the confidence value of the after-recognition state of the OMR mark if this is an OMR zone.
Syntax
public int OmrConfidence {get; set;}
'Declaration
 
Public Property OmrConfidence As Integer
'Usage
 
Dim instance As NativeOcrZone
Dim value As Integer
 
instance.OmrConfidence = value
 
value = instance.OmrConfidence
public int OmrConfidence {get; set;}
public int getOmrConfidence()
public void setOmrConfidence(int value)
            
 <br/>get_OmrConfidence();<br/>set_OmrConfidence(value);<br/>Object.defineProperty('OmrConfidence'); 
public:
property int OmrConfidence {
   int get();
   void set (    int value);
}

Property Value

A number between 0 and 100 (where 100 is maximum confidence) that indicate the after-recognition confidence this IOcrEngine has in the OmrState value of this zone.
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
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, you have to 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.

Example
For an example, refer to IOcrOmrOptions.
Requirements

Target Platforms

See Also

Reference

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

Error processing SSI file
Leadtools.Forms.Ocr requires a Recognition or Document Imaging Suite license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features