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

  • 79 Views
  • Last Post 4 weeks ago
Павло Ус posted this 4 weeks ago

Hello

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=="

}

Order By: Standard | Newest | Votes
Павло Ус posted this 4 weeks ago

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.

Павло Ус posted this 4 weeks ago

Hello,

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?

Павло Ус posted this 4 weeks ago

Extremely simple flow:

 

Extremely simple flow

Close