コミュニティ

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

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

}

この記事は役に立ちましたか?

0人中0人がこの記事が役に立ったと言っています

コメント

3件のコメント

  • Avatar
    Permanently deleted user

    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.

    0
  • Avatar
    Permanently deleted user

    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?

    0
  • Avatar
    Permanently deleted user

    Extremely simple flow:

     

    Extremely simple flow

    0

サインインしてコメントを残してください。