Emotion Recognition in the Wild via Convolutional Neural Networks and Mapped Binary Patterns

Autodetects emotions in the given image.

Algorithmia Platform License · Internet Access · Calls Other Algorithms

Try the API

{
  "results": [
    {
      "bbox": {
        "bottom": 911,
        "left": 295,
        "right": 849,
        "top": 357
      },
      "emotions": [
        {
          "confidence": 0.9386989,
          "label": "Happy"
        },
        {
          "confidence": 0.0483937,
          "label": "Neutral"
        },
        {
          "confidence": 0.0120008,
          "label": "Disgust"
        },
        {
          "confidence": 0.000406,
          "label": "Sad"
        },
        {
          "confidence": 0.0003461,
          "label": "Fear"
        },
        {
          "confidence": 0.00015,
          "label": "Angry"
        },
        {
          "confidence": 0.0000046,
          "label": "Surprise"
        }
      ],
      "person": 0
    }
  ]
}

Install & Use

Use

curl -X POST -d '{
  "image": "data://deeplearning/example_data/elon_musk.jpg",
  "numResults": 7
}' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/deeplearning/EmotionRecognitionCNNMBP/1.0.1