Welcome to the Microsoft Emotion API, which allows you to build more personalized apps with Microsoft’s cutting-edge cloud-based emotion recognition algorithm.
The Emotion API beta takes an image as an input, and returns the confidence across a set of emotions for each face in the image, as well as the bounding box for the face, from the Face API. The emotions detected are happiness, sadness, surprise, anger, fear, contempt, disgust or neutral. These emotions are communicated cross-culturally and universally via the same basic facial expressions, where are identified by Emotion API.
Interpreting Results:
In interpreting results from the Emotion API, the emotion detected should be interpreted as the emotion with the highest score, as scores are normalized to sum to one. Users may choose to set a higher confidence threshold within their application, depending on their needs.
For more details about emotion detection, please refer to the API Reference:
Please note, Emotion API for Video was deprecated on October 30, 2017. For a sample on how to interpret streaming video with Emotion API, please see How to Analyze Videos in Real Time.

Transforming Enterprises with
Data & AI Services & Solutions.
ThirdEye delivers Data and AI services & solutions for enterprises worldwide by
leveraging state-of-the-art Data & AI technologies.
From a specific use case to a full-scale modernization, share your requirements, and our engineers will take it from there. We typically respond within 24 hours with a transparent, detailed assessment of what's possible for your business.
333 West San Carlos Street, San Jose, CA 95110 USA
6000 Rome Blvd, Brossard, Quebec J4Y 0B6 Canada
Technopolis, Kolkata, India
CTIE, Hubli, India
We are a full-stack AI development company that helps enterprises make better decisions, reduce costs, and operate more efficiently.
333 West San Carlos Street, San Jose, CA 95110 USA
India: Kolkata, WB & Hubli, KA
Canada: Brossard, Quebec
