ID documents like passports, visas, and other ID cards contain a Machine Readable Zone (MRZ) which makes them readable by machines. The GdPicture.NET OCR SDK allows you to create applications to extract and decode MRZ characters on all types of documents.
The Machine Readable Zone (MRZ) is found on Machine Readable Travel Documents (MRTD) like passports, visas, and other IDO documents. It contains mandatory and optional data that can be read by devices using OCR.
MRZ uses OCR-B font and a specific number of characters and lines.
The specifications of MRTD and MRZ are provided by the International Civil Aviation Organization (ICAO) in its document 9303, which is endorsed by the International Organization for Standardization and the International Electrotechnical Commission as ISO/IEC 7501-1.
Below is an example from the specification issued by the ICAO.
There are also other specific formats depending on the country. For instance, French and Portuguese ID cards don’t follow these standards.
gdpictureOCR.SetImage(imageId); string resultId = gdpictureOCR.RunOCR(OCRSpecialContext.MRZ); string mrzRead = gdPictureOCR.GetOCRResultText(resultId);
You will find a compiled demo applications in [Install directory]\Samples\Bin\
You will find an example of a full application in [Install directory]\Samples\DotNet\GdPicture.NET 14\
You will find other code snippets within the online reference guide found here https://guides.gdpicture.com