Face Detection

This algorithm detects human faces in given images.

Algorithmia Platform License · Internet Access · Calls Other Algorithms

Try the API

{
  "images": [
    {
      "detected_faces": [
        {
          "bottom": 848,
          "left": 1703,
          "right": 2024,
          "top": 527
        },
        {
          "bottom": 811,
          "left": 399,
          "right": 861,
          "top": 348
        }
      ],
      "imageDimensions": {
        "height": 3137,
        "width": 2826
      },
      "output": "data://.algo/temp/detected_faces.png",
      "url": "https://en.wikipedia.org/wiki/Barack_Obama#/media/File:DIG13623-230.jpg"
    }
  ]
}

Install & Use

Use

curl -X POST -d '{
  "images": [
    {
      "url": "https://en.wikipedia.org/wiki/Barack_Obama#/media/File:DIG13623-230.jpg",
      "output": "data://.algo/temp/detected_faces.png"
    }
  ]
}' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/dlib/FaceDetection/0.2.1