Try Cognitive Services for free
Sign in to continue
You’re almost ready to start building with your seven-day free evaluation.
Sign in with your preferred account to get started
Recognise emotions in images
The Emotion API takes a facial expression in an image as an input, and returns the confidence across a set of emotions for each face in the image, as well as bounding box for the face, using the Face API. If a user has already called the Face API, they can submit the face rectangle as an optional input.
The emotions detected are anger, contempt, disgust, fear, happiness, neutral, sadness and surprise. These emotions are understood to be communicated universally across cultures with particular facial expressions.
Recognise emotions in video
You can use the Emotion API to track how a person or crowd responds to your content over time. The emotions detected are anger, contempt, disgust, fear, happiness, neutral, sadness and surprise.
Recognise emotions in video by extracting frames of a video and then sending those frames to the API. Get results faster and quickly start coding using our sample on GitHub.Learn more
See it in action
Want to build this?
“Because the Cognitive Services APIs harness the power of machine learning, we were able to bring advanced intelligence into our product without the need to have a team of data scientists on hand.”
Aaron Edell: Chief Product Owner | GrayMeta
“Using the Cognitive Services APIs, it took us three months to develop a test pair of glasses that can translate text and images into speech, identify emotions and describe scenery. If we had been working full-time, we could have done it in two weeks.”
Benoit Chirouter: R&D Director | Pivothead
“It didn’t take us long to realise Microsoft Cognitive Services had handed us a powerful set of computer-vision and artificial-intelligence tools that we could use to create great apps and new features for our customers in just a few hours.”
John Fan: Cofounder and CEO | Cardinal Blue Software
Explore the Cognitive Services APIs
An easy-to-use, advert-free, commercial-grade search tool that lets you deliver the results you want