OMROPTIONS2

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.

Members

uStructSize

Structure size. Set it to sizeof(OMROPTIONS2).

bFill

/* Deprecated, do not use */ If TRUE, the mark is filled (or selected); otherwise, the mark is unfilled (or unselected).

Frame

Frame detection method to be used. Specifies whether 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: OMRSENSENORMAL). For a list of possible values, refer to DOC2_OMRSENSE.

FilledRecognitionChar

Specifies the character to use for a filled OMR field.

UnFilledRecognitionChar

Specifies the character to use for an unfilled OMR field.

Comments

The default values are:

Member Value Description
Frame DOC2_OMR_AUTO_FRAME Automatic frame detection
Sense DOC2_OMRSENSEHIGHEST Highest mark sensitivity

OMROPTIONS2 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.

The structure is used by:

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

LEADTOOLS OCR Module - OmniPage Engine C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.