Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS OCR C DLL Help

OMROPTIONS2

Show in webframe

typedef struct _tagOMROptions2
{
   L_UINT uStructSize;
   L_BOOL bFill; /* Deprecated, do not use */
   DOC2_OMRFRAME Frame;
   DOC2_OMRSENSE Sense;
   L_WCHAR FilledRecognitionChar;
   L_WCHAR UnFilledRecognitionChar;
} OMROPTIONS2, * pOMROPTIONS2;

The OMROPTIONS2 structure contains options for OMR recognition.

Member

Description

uStructSize

Structure size. It should be equal to sizeof(OMROPTIONS2).

bFill

If TRUE, the mark is filled (or selected); otherwise, the mark is unfilled (or unselected).

Frame

Frame detection method to be used. This specifies whether the OMR zone borders will be visible or invisible in the images. For a list of possible values, refer to DOC2_OMRFRAME.

Sense

Mark sensitivity level to be used (Default: OMR_SENSE_NORMAL). For a list of possible values, refer to DOC2_OMRSENSE.

FilledRecognitionChar

Specifies character for filled OMR field.

UnFilledRecognitionChar

Specifies character for unfilled OMR field.

Comments

The default values are:

Member

Value

Description

Frame

DOC2_OMR_AUTO_FRAME

Automatic frame detection

Sense

DOC2_OMR_SENSE_HIGHEST

Highest mark sensitivity

This structure is used only when the recognition module is DOC2_RECOGMODULE_OMR.

pOMROPTIONS2 is a pointer to an OMROPTIONS2 structure. If the function parameter type is pOMROPTIONS2, declare an OMROPTIONS2 variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a pOMROPTIONS2 variable is necessary only if the program requires a pointer.

This structure is used with the following functions:

L_Doc2SetOMROptions

L_Doc2GetOMROptions

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