MRZ API: is it possible to get more detailed code?

  • Last Post 08 January 2016
NickPLV posted this 25 March 2013


Is it possible to get some more detailed (possibly php) code for your MRZ OCR feature?



Order By: Standard | Newest | Votes
Anastasia Galimova posted this 29 March 2013

Hello Nicolas,

Thank you for your question!

To process MRZ using PHP code, you can just replace the line

30  $url = '';


30  $url = '';


130 header('Content-type: application/rtf');
131 header('Content-Disposition: attachment; filename="file.rtf"');


130 header('Content-type: application/xml');
131 header('Content-Disposition: attachment; filename="file.xml"');

in the PHP code sample.

  • Liked by
  • Vitaly_k
Amit posted this 07 January 2016

Getting blank xml result if i'm using processMRZ but when i'm using processImage getting results

Oksana Serdyuk posted this 08 January 2016

Most possible the program is not able to find any MRZ text on your image. The reasons can be different: inappropriate quality of the image, unsupported MRZ format or something else. Could you kindly send to the following info for further investigation the issue:

1) your Application ID,

2) your image sample.