Face Detection

FREEMIUM
By inferdo
Updated 2 months ago
Visual Recognition
7.5/10
Popularity Score
493ms
Latency
97%
Success Rate

Face Detection API Overview

Use our Face Detection API to detect the location of human faces in your images. Need more information? Then use our Face Details API to detect faces, gender, age, and other facial features.

Contact API Provider
star-blueRate

Affordable Computer Vision
Easily integrate our Computer Vision API to add some Machine Learning magic✨ to your app. At inferdo, we pride ourselves in our ability to offer state-of-the-art, pre-trained deep learning models, but also our ability to efficiently serve them at scale. That means we can pass the savings on to you! Simply provide an image URL to our API and we'll handle the rest.

The returned object includes the locations of the detected faces encoded in the form of the top-left and bottom-right pixel coordinates of the face's bounding box, and the probability of the detected bounding box region being a face.

To increase the accuracy of your request, in a trade-off of API response time, use the optional "accuracy_boost" param to boost model accuracy. Valid arguments are values in the range 1 to 4, with 1 being the fastest and least accurate model and 4 being the most accurate and slowest model.

example request:

{
"url": "https://www.inferdo.com/img/face-2.jpg",
"accuracy_boost": 4
}

example response:
{
"Detected_faces": [
{
"BoundingBox": {
"startX": 264,
"startY": 196,
"endX": 302,
"endY": 237
},
"Probability": 99.97026324272156
},
{
"BoundingBox": {
"startX": 353,
"startY": 189,
"endX": 383,
"endY": 235
},
"Probability": 99.37525391578674
},
{
"BoundingBox": {
"startX": 420,
"startY": 179,
"endX": 444,
"endY": 221
},
"Probability": 84.73355770111084
},
{
"BoundingBox": {
"startX": 214,
"startY": 145,
"endX": 246,
"endY": 213
},
"Probability": 59.6186101436615
}
]
}

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication