Face Recognition

Train and recognize human faces

Algorithmia Platform License · Internet Access · Calls Other Algorithms

Try the API

{
  "images": [
    {
      "output": "data://.algo/cv/FaceRecognition/temp/poi_cast_visualized.png",
      "predictions": [
        {
          "bb": {
            "bottom": 315,
            "left": 633,
            "right": 723,
            "top": 226
          },
          "confidence": 0.6931293290507438,
          "output": "data://.algo/cv/FaceRecognition/temp/poi_cast_visualized.png",
          "person": "kevin_chapman"
        },
        {
          "bb": {
            "bottom": 308,
            "left": 543,
            "right": 605,
            "top": 246
          },
          "confidence": 0.7273244502357664,
          "output": "data://.algo/cv/FaceRecognition/temp/poi_cast_visualized.png",
          "person": "sarah_shahi"
        },
        {
          "bb": {
            "bottom": 279,
            "left": 337,
            "right": 411,
            "top": 204
          },
          "confidence": 0.7004215725611026,
          "output": "data://.algo/cv/FaceRecognition/temp/poi_cast_visualized.png",
          "person": "amy_acker"
        },
        {
          "bb": {
            "bottom": 285,
            "left": 225,
            "right": 315,
            "top": 196
          },
          "confidence": 0.7960040928686051,
          "output": "data://.algo/cv/FaceRecognition/temp/poi_cast_visualized.png",
          "person": "michael_emerson"
        },
        {
          "bb": {
            "bottom": 304,
            "left": 453,
            "right": 527,
            "top": 229
          },
          "confidence": 0.7856644416423558,
          "output": "data://.algo/cv/FaceRecognition/temp/poi_cast_visualized.png",
          "person": "jim_caviezel"
        }
      ],
      "url": "data://cv/face_recognition_example_data/poi_cast.jpg"
    }
  ],
  "result": "success"
}

Install & Use

Use

curl -X POST -d '{
  "name_space": "celebrities",
	"data_collection": "cv/FaceRecognition",
  "action": "predict",
  "images": [
    {
      "url": "data://cv/face_recognition_example_data/poi_cast.jpg",
      "output": "data://.algo/cv/FaceRecognition/temp/poi_cast_visualized.png"
    }
  ]
}' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/cv/FaceRecognition/0.2.1
  
Curl Docs →