Text Recognition Image

API TEXT RECOGNITION IMAGE

POST https://dsc-ocr.udata.id/api/order/ocr/image/recognition

Upload file to server.

Headers

NameTypeDescription

webhook_url

string

callback url

Authentication

string

Authentication token to track down who is emptying our stocks.

Request Body

NameTypeDescription

image

object

{
    "message": "file processed",
    "success": true,
    "transaction_id": "TRANSACTION_ID"
}

Webhook Response

{
  "filename": "TRANSACTION_ID",
  "ocrResult": [
    {
      "text": str
    },
    ...
  ],
  "type": str
}

Last updated