Hi.
I'm implementing basic OCR client on PHP and can't get processMRZ working, i receive empty recognition xml or just couple of lines filled with angle brackets (<). I'm using guzzle and tried to pass file in several ways, including passing as a request body and as a parameter, but i'm just receiving more empty responses. Is there any precise documentation about how i should pass the file to API, which headers are required for correct file acceptance, are there any specific options i should know? I'm passing two quite clean passport scans, i'm sure the image is clean enough, i just think i'm doing something wrong.

asked 05 Feb '15, 12:35

Etki's gravatar image

Etki
112

I don't understand why, but another similar image went quite smooth. Sending file as POST parameter works fine.

(06 Feb '15, 17:25) Etki

Hi Etki, did you test other methods, e.g. processImage with your images? Do you get proper results for them? Usually processMRZ returns an empty document<document/> if no MRZ has been detected.

Hope this helps

Rainer

link

answered 17 Feb '15, 12:23

rainerp's gravatar image

rainerp
213

edited 25 Feb '15, 11:21

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:

×33
×7

Asked: 05 Feb '15, 12:35

Seen: 1,107 times

Last updated: 25 Feb '15, 11:21

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