Detect and find human faces within an image. The API returns high-accuracy bounding boxes for every face found, along with landmark points and a quality score you can use to reject unusable captures before they reach your matching pipeline.
High-Speed Detection
Typical response time
Multi-face
Every face in one call
JSON
Request and response
Request URL
https://faceapi.mxface.ai/api/v3/Face/detect
Method type
Headers
Content-Type : application/json
Subscriptionkey : xxxxxxxxxxx
{
"encoded_image": "/9j/4AAQSkZJRgABAQAAAQA......"
}
encoded_image
YesString
base64 encoded string
minimumDistanceBetweenEyeThreshold
NoInt
Set distance between eyes
[
{
"faces": [
{
"quality": 94.401535,
"points": [
{ "x": 71.92761, "y": -36.935425 },
{ "x": 1560.9269, "y": -7.7887573 },
{ "x": 35.494263, "y": 1824.3137 },
{ "x": 1524.4935, "y": 1853.4603 }
],
"faceRectangle": {
"x": 35,
"y": 0,
"height": 1853,
"width": 1525
}
}
]
}
]
quality
float
Quality score of image between 1 and 100
faceRectangle
object
Boundary of the face
height
int
Height of face
width
int
Width of face
x
int
x-edge of face
y
int
y-edge of face
Try it on your own images
Free trial key unlocks every model.
Verify to continue
Captcha does not match. Please try again.