BrandKwikID Documentation
API SuiteFace & Biometrics (ML)

Crop Face

This API detects any Face in an image and returns a cropped image of the face.

Try itLoading playground…
Loading…
AuthorizationBearer <token>

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

In: header

file?string
unique_id?string | null

Response Body

curl -X POST "https://__mock__/crop/face"
{
  "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"
}