Hello,

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

Thanks,

Nicolas

asked 25 Mar '13, 12:09

NickPLV's gravatar image

NickPLV
114


Hello Nicolas,

Thank you for your question!

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

30  $url = 'http://cloud.ocrsdk.com/processImage?language=english&exportFormat=rtf';

to

30  $url = 'http://cloud.ocrsdk.com/processMRZ';

and

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

to

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

in the PHP code sample.

link
This answer is marked "community wiki".

answered 29 Mar '13, 16:57

Anastasia%20Galimova's gravatar image

Anastasia Ga... ♦♦
790112

edited 01 Apr '13, 10:51

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

(07 Jan '16, 15:05) Amit

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 CloudOCRSDK@abbyy.com the following info for further investigation the issue:

1) your Application ID,

2) your image sample.

(08 Jan '16, 15:22) Oksana Serdyuk ♦♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×6

Asked: 25 Mar '13, 12:09

Seen: 1,715 times

Last updated: 08 Jan '16, 15:22

© 2016 ABBYY. All rights Reserved. www.ABBYY.com | Privacy Policy | Legal