LEADTOOLS OCR (Leadtools.Forms.Ocr assembly)

OmrOptions Property

Show in webframe







Gets the OMR settings currently used by the engine.
Syntax
IOcrOmrOptions OmrOptions {get;}
'Declaration
 
ReadOnly Property OmrOptions As IOcrOmrOptions
'Usage
 
Dim instance As IOcrZoneManager
Dim value As IOcrOmrOptions
 
value = instance.OmrOptions
IOcrOmrOptions OmrOptions {get;}
@property (nonatomic, strong, readonly) LTOcrOmrOptions* omrOptions;
public OcrOmrOptions getOmrOptions()
get_OmrOptions(); 
property IOcrOmrOptions^ OmrOptions {
   IOcrOmrOptions^ get();
}

Property Value

An IOcrOmrOptions interface implementation object that defines the OMR settings currently used by the engine.
Remarks

OMR stands for Optical Mark Recognition. For more information refer to Using OMR in LEADTOOLS .NET OCR.

You can get the instance of the IOcrOmrOptions interface currently used in the engine using the IOcrSpellCheckManager.OmrOptions property.

With the IOcrOmrOptions interface, you can change the following OMR settings:

Calling IOcrPage.Recognize, updates all OMR zone properties as follows:

Property Description
OcrZone.OmrState Either OcrOmrZoneState.Filled if the mark is recognized as being filled or checked, or OcrOmrZoneState.Unfilled if the mark is recognized as being unfilled or unchecked.
OcrZone.OmrConfidence A number between 0 and 100 (where 100 is maximum confidence) that specifies the confidence the OCR engine has in recognizing the OcrZone.OmrState.

The OMR zones of a page have the following properties:

Property Value
OcrZone.FillMethod Set to OcrZoneFillMethod.Omr
OcrZone.RecognitionModule Set to OcrZoneRecognitionModule.Omr

All LEADTOOLS OCR engines support OMR. However, currently autodetection of OMR zones is not supported. Instead, you need to: here 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.

Example
For an example, refer to IOcrOmrOptions.
Requirements

Target Platforms

See Also

Reference

IOcrZoneManager Interface
IOcrZoneManager Members
OcrEngineManager Class
OcrEngineType Enumeration
IOcrPageCollection Interface
IOcrZoneCollection Interface
IOcrZoneManager Interface
IOcrOmrOptions Interface
OcrZone Structure
OcrZoneRecognitionModule Enumeration
OcrZoneFillMethod Enumeration
Programming with the LEADTOOLS .NET OCR
Using OMR in LEADTOOLS .NET OCR
Unlocking Special LEAD Features

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

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