A stupid question about POST: https://cloud-westus.ocrsdk.com/v2/processImage


May I ask you a stupid question about POST: https://cloud-westus.ocrsdk.com/v2/

Working under REST API integration

How to point a file in the request?


E.g. my test request for a .png file (which doesn't work):



"language": "English",

"profile": "textExtraction",

"imageSource": "auto",

"exportFormat": "txt",

"file": "iVBORw0KGgoAAAANSU.....QAAAABJRU5ErkJggg=="


Была ли эта статья полезной?

Пользователи, считающие этот материал полезным: 0 из 0


Комментариев: 3

  • Avatar
    Павло Ус

    As I see:

    Please make sure that you transmit to the service the binary data as is. The fact is that Cloud OCR SDK cannot work with the data encoded in base64.


    But how to send images then? Nothing in the documentation.

  • Avatar
    Павло Ус


    That part is clear now but I have another annoying situation: everything works for .pdf but not for .jpg, .bmp, etc.

    How to fix this?

  • Avatar
    Павло Ус

    Extremely simple flow:


    Extremely simple flow


Войдите в службу, чтобы оставить комментарий.