L_OcrOMROptions

struct L_OcrOMROptions 
{ 
   L_UINT StructSize; 
   L_OcrOMRFrameDetectionMethod FrameDetectionMethod; 
   L_OcrOMRSensitivity Sensitivity; 
   L_WCHAR StateRecognitionCharacters[2]; // 0 = unfilled, 1 = filled 
}; 
typedef struct L_OcrOMROptions L_OcrOMROptions; 

The OMR settings currently used in the engine.

Member Description
StructSize Structure size. It should be equal to sizeof(L_OcrOMROptions).
FrameDetectionMethod Gets or sets the OMR frame detection mode.
Sensitivity Gets or sets the OMR sensitivity mode.
StateRecognitionCharacters The characters used to represent an OMR state in the output document.

Comments

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

You can call the L_OcrZoneManager_GetOMROptions method to get the current OMR options currently used by the engine.

With the L_OcrOmrOptions structure, you can change the following OMR settings:

The OMR zones of a page are zones with L_OcrZone.ZoneType set to L_OcrZoneType_OMR.

LEADTOOLS OCR Module - LEAD Engine supports auto-detection of OMR zones during auto-zoning of the OCR page, you just have to make sure that "Detect Checkbox" is one of the Recognition.Zoning.Options setting flags before calling L_OcrPage_AutoZone or L_OcrPage_Recognize.

To use OMR in LEADTOOLS, you need a special key to unlock the OMR capabilities. For more information, refer to Setting a Runtime License.

This structure is used with the following functions:

L_OcrZoneManager_GetOMROptions

L_OcrZoneManager_SetOMROptions

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS OCR Module - LEAD Engine C API Help