Machine Readable Zone (MRZ) Capture - Code Sample (Linux)

Language:
EN
Product-Line:
FineReader Engine
Version:
12
Platform:
Linux
Type:
Knowledge Base & Support
KB-Type:
Code Samples Collection
Category:
Recognition
Coding:
C++
Image:
image: icon_mrzexctraction.gif

Descritpion

The code sample 'MRZExtraction' demonstrates how ABBYY FineReader Engine 12 can be used for the data extraction from Machine Readable Zones (MRZ). The sample uses the basic objects and methods of ABBYY FineReader Engine 12:

  1. Create the Engine object using the InitializeEngine function.
  2. Load the MachineReadableZone predefined profile using the LoadPredefinedProfile method of the Engine object.
  3. Call the CreateFRDocumentFromlmage method of the Engine object to create the FRDocument object.
  4. Get the first page from the document with the Item method of the FRPages object.
  5. [optional] Create the MrzProcessingParams object to set up the MRZ format.
  6. Call the ExtractMrz method of the FRPage object to extract data from MRZ.
  7. Call the ExportToFile method of the MrzData object to save the extracted data to a file of the specified format.
  8. Close the FRDocument object using the Close method.
  9. Unload FineReader Engine — use the DeinitializeEngine function.

Back To:

This website uses cookies which enable you to see pages or use other functions of our websites. You can turn off such cookies in your browser’s settings. If you continue to use these pages, you consent to the use of cookies.