BrandKwikID Documentation
API SuiteDocument Processing (ML)

Document(Rect)

This API detects any Document returns a cropped image of the document.

Try itLoading playground…
Loading…
AuthorizationBearer <token>

JWT Bearer token authentication. Obtain a token from the KwikID dashboard.

In: header

imagestring
response_type?string
Value in"file" | "base64"
unique_id?string | null

Response Body

curl -X POST "https://__mock__/crop/document" \  -F image="string"
{
  "class": "string",
  "confidence": 0,
  "image": "string",
  "name": "string",
  "xmax": 0,
  "xmin": 0,
  "ymax": 0,
  "ymin": 0
}
{
  "detail": {
    "<location>": {
      "<field_name>": [
        "string"
      ]
    }
  },
  "message": "string"
}
{
  "detail": {},
  "message": "string"
}