POST
/
api
/
ai
/
images
/
v2
/
face-detection
curl --request POST \
  --url https://api.worqhat.com/api/ai/images/v2/face-detection \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multi-part/form-data' \
  --data '{
  "image": "/path/to/image.jpg"
}'
{
  "code": 200,
  "status": "success",
  "data": {
    "analysed_data": [
      {
        "age_range": {
          "high": 26,
          "low": 18
        },
        "beard": {
          "confidence": 73.7099380493164,
          "value": true
        },
        "bounding_box": {
          "height": 0.22712668776512146,
          "left": 0.3961663544178009,
          "top": 0.2599637806415558,
          "width": 0.22138258814811707
        },
        "confidence": 99.99722290039062,
        "emotions": [
          {}
        ]
      }
    ]
  },
  "processing_time": 2189,
  "processing_id": "b577b18e-1313-47d4-a709-ed3bb219ea52",
  "processing_count": 1
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

multi-part/form-data
image
string

The image to be sent as input.

Response

200 - application/json
code
integer
status
string
data
object
processing_time
integer
processing_id
string
processing_count
integer