MICRCODEDETECTOROPTIONS

Summary

The MICRCODEDETECTOROPTIONS structure provides options to be used in detect MICR zones on a bitmap.

Syntax

typedef struct MICRCODEDETECTOROPTIONS 
{ 
   L_UINT uStructSize; 
   L_RECT rcInputROI; 
   L_RECT rcMICRZone; 
   L_RECT * pOCRAOutrc; 
   L_INT nOCRACount; 
   L_INT nConfidence; 
   L_UINT uIssues; 
} MICRCODEDETECTOROPTIONS, * pMICRCODEDETECTOROPTIONS; 

Members

uStructSize

Size of this structure in bytes, for versioning. Use the sizeof() operator to calculate this value.

rcInputROI

L_RECT structure that contains the boundaries of input region of interest.

rcMICRZone

L_RECT structure that contains the boundaries of the MICR zone.

pOCRAOutrc

Pointer to a buffer to be updated with of bounds for each OCR-A character.

nOCRACount

The number of OCR-A characters.

nConfidence

The confidence of the output.

uIssues

Corresponds to potential errors in the MICR zone. Possible values are:

Value Meaning
MICR_DETECTION_OVERLAPPED_CHAR [0x0001] MICR code characters are overlapping.
MICR_DETECTION_BLUR_IMAGE [0x0002] The image is blur.
MICR_DETECTION_INCORRECT_FIELDS_COUNT [0x0004] The number of MICR code fields are incorrect.
MICR_DETECTION_LARGE_FIELDS_DISTANCE [0x0008] The detected MICR code has large gap between its fields.
MICR_DETECTION_MISSING_CHAR [0x0010] The detected MICR has missing characters.
MICR_DETECTION_NOISY [0x0020] A lot of noisy objects.
MICR_DETECTION_ATTACHED_TO_SIGNATURE [0x0040] The signature overlaps MICR code zone.
MICR_DETECTION_NORMAL [0x0000100] MICR code is correct.

Comments

pMICRCODEDETECTOROPTIONS is a pointer to an MICRCODEDETECTOROPTIONS structure. Where the function parameter type is pMICRCODEDETECTOROPTIONS, you can declare an MICRCODEDETECTOROPTIONS variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a pMICRCODEDETECTOROPTIONS variable is necessary only if your program requires a pointer.

Usage

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

LEADTOOLS Raster Imaging C API Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.