API Docs

v1.1.0

Detect Faces

Check the faces count in the image.

POST /api/face/detect

Payload to send the image in base64

{
    "base64_face":"iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/
w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJg..."
}

Payload to send the image URL

{
    "url_face":"https://fg.losimg/face.jpg"
}

ATTENTION: The {url_face} field will only be mandatory if the {base64_face} field has not been submitted. It is the customer's choice.

200 Response

{
    "face_counting": 1
}

404 Response

{
    "message": "Not Detected"
}