Community

Unsuccessful processMRZ processing

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.

0

Comments

2 comments

  • Avatar
    Etki

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

    0
    Comment actions Permalink
  • Avatar
    rainerp

    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

    0
    Comment actions Permalink

Please sign in to leave a comment.