MRZDETECTION

Summary

The MRZDETECTION structure contains data for the detected machine-readable zone.

Syntax

typedef struct MRZDETECTION 
{ 
   L_UINT uStructSize; 
   L_UINT uFlags; 
   L_RECT rcROI; 
   L_RECT rcMRZZone; 
   L_INT nOrientationAngle; 
   L_BOOL bVerticallyFlipped; 
   L_FLOAT fDeskewAngle; 
} MRZDETECTION, * pMRZDETECTION; 

Members

uStructSize

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

uFlags

Reserved for future use. Pass 0.

rcROI

L_RECT structure that contains the boundaries of the region of interest within the image.

rcMRZZone

L_RECT structure that contains the boundaries of the machine-readable zone.

nOrientationAngle

The orientation angle of the MRZ. Possible values are: 0, 90, 180, or 270.

Rotation is measured clockwise and this value should be non-negative.

bVerticallyFlipped

A boolean flag that determines if the MRZ is vertically flipped. Possible values are:

Value Meaning
TRUE MRZ is vertically flipped.
FALSE MRZ is not vertically flipped.

fDeskewAngle

A float value that measures MRZ skew angle in degrees.

Comments

pMRZDETECTION is a pointer to an MRZDETECTION structure. Where the function parameter type is pMRZDETECTION, you can declare an MRZDETECTION variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a pMRZDETECTION 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.