OMROPTIONS

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

The OMROPTIONS structure contains options for OMR recognition.

Member

Description

uStructSize

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

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_HIGHEST). For a list of possible values, refer to OMRSENSE.

Comments

The default values are:

Member

Value

Description

Frame

OMR_AUTO_FRAME

 detection mode,

Sense

OMR_SENSE_HIGHEST

 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