OMROPTIONS

typedef struct _tagOMROptions
{
   L_UINT uStructSize;
   L_BOOL bFill;
   OMRFRAME Frame;
   OMRSENSE Sense;
} OMROPTIONS, L_FAR * pOMROPTIONS;

The OMROPTIONS structure contains options for OMR recognition.

Member

Description

uStructSize

Specifies the structure size. It should be equal to sizeof(OMROPTIONS).

bFill

Flag that indicates whether the recognition output can take two or three values. Possible values are:

 

Value

Meaning

 

TRUE

Three values are possible for grouped zones:

 

 

0 = unfilled,

 

 

1 = filled,

 

 

2 = filled-in-error.

 

FALSE

Only one of two values can be generated for each RM_OMR zone:

 

 

0 = unfilled

 

 

1 = filled

Frame

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

Sense

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

Comments

The default values are:

 

*

two-value output from recognition,

 

*

OMR_FRAME_AUTO detection mode,

 

*

OMR_SENSE_NORMAL sensitivity setting.

This structure used only when the recognition module is RECOGMODULE_OMR.

pOMROPTIONS is a pointer to a OMROPTIONS structure. Where the function parameter type is pOMROPTIONS, declare a OMROPTIONS variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a pOMROPTIONS variable is necessary only if the program requires a pointer.

This structure is used with the following functions:

L_DocSetOMROptions

L_DocGetOMROptions