tleyden / open-ocr

Run your own OCR-as-a-Service using Tesseract and Docker
Apache License 2.0
1.33k stars 223 forks source link

Not able to upload PNG image #79

Closed sathishsanthosam closed 8 years ago

sathishsanthosam commented 8 years ago

Hi,

I'm trying to upload png image with ocr-file-upload API. I'm using java script to send the request. I'm converting the base64 data URI to raw data for png image using atob(base64string).

I'm getting 200 but in the response i getting an error as Error Processing Image URL.

I've attached the Image for the request and Response.

could you please let me know, what am i missing?

Thanks and Regards, Sathish. request response

tleyden commented 8 years ago

If you want help you will need to post code that reproduces your issue, and that is packaged and easy to run.

Also, if you use an http sniffer tool like httpscoop or wireshark you can compare it with the known working client (https://github.com/tleyden/open-ocr-client) and see what's different on the network.