MRZDETECTION (original) (raw)

Summary

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

Syntax

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

LEADTOOLS Raster Imaging C API Help