MrzProcessingParams Object (IMrzProcessingParams Interface)

This object provides access to parameters of the machine-readable zone (MRZ) extraction.

Properties

Name Type Description
Application Engine, read-only Returns the Engine object.
Format MrzFormatEnum

Specifies the MRZ format by the MRZ standards.

The default value is MF_Auto.

MinMrzLineLength int

Specifies the minimum number of characters in the MRZ line. The value can be in the range of 1 to 44. The default value is 28. If the MRZ lines are shorter than the threshold set by this property, the system will not extract a valid MRZ from such an image.

The standard MRZ line length is specified in the ICAO Document 9303 and depends on the type of the document:  

  • Type 1 is of a credit card size. The MRZ in such documents consists of 3 lines × 30 characters.  
  • Type 2 is relatively rare, and its MRZ contains 2 lines × 36 characters.
  • Type 3 is typical of passport booklets. Its MRZ is 2 lines × 44 characters.  

We recommend leaving the default value of 28 characters for standard documents. It allows recognizing the MRZs from all three types of documents and has a margin of two characters in case the image is a bit cropped.

If you need to extract the MRZ with more than two symbols lost due to crop or bad image quality, try setting this property to a lower value.

Note: With a lower MinMrzLineLength value, it is more likely that some garbage will be recognized as MRZ.

Input parameter

This object is passed as an input parameter to the ExtractMrz method of the FRPage object.

Output parameter

This object is the output parameter of the CreateMrzProcessingParams method of the Engine object.

See also

FRPage
Working with Properties

24.03.2023 8:51:52

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.