Gets or sets the after-recognition state of the OMR mark if this is an OMR zone.
public Leadtools.Forms.Ocr.OcrOmrZoneState OmrState {get; set;}
Public Property OmrState As Leadtools.Forms.Ocr.OcrOmrZoneState
public Leadtools.Forms.Ocr.OcrOmrZoneState OmrState {get; set;}
public OcrOmrZoneState getOmrState()
public void setOmrState(OcrOmrZoneState value)
get_OmrState();
set_OmrState(value);
Object.defineProperty('OmrState');
public:
property Leadtools.Forms.Ocr.OcrOmrZoneState OmrState {
Leadtools.Forms.Ocr.OcrOmrZoneState get();
void set ( Leadtools.Forms.Ocr.OcrOmrZoneState );
}
One or more OcrOmrZoneState enumeration member that indicate the after-recognition state (filled or unfilled) of the mark of this zone.
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.
For an example, refer to IOcrOmrOptions.
NativeOcrZoneRecognitionModule Enumeration
NativeOcrZoneFillMethod Enumeration
Programming with the LEADTOOLS .NET OCR
Products |
Support |
Feedback: OmrState Property - Leadtools.Forms.Ocr |
Introduction |
Help Version 19.0.2017.6.6
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.