OMROPTIONS2

typedef struct _tagOMROptions2
{
   L_UINT uStructSize;
   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).

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