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.
Unsuccessful processMRZ processing
Was this article helpful?
0 out of 0 found this helpful
Comments
2 comments
I don't understand why, but another similar image went quite smooth. Sending file as POST parameter works fine.
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
Please sign in to leave a comment.