Affectiva Emotion API & SDK (Affdex)

Highly-connected devices, interactive technologies and advanced AI systems surround us daily, but as smart as these are, they lack the ability to sense and adapt to human emotions. At Affectiva, our mission is to bring emotional intelligence to the digital world; we are humanizing technology.

Using our software development kit, developers can now enrich digital experiences, apps, games, and other technologies by integrating our emotion detecting software and allowing devices to respond to users’ emotions in real time without cloud support. In addition, we provide a Restful API for apps use the cloud to analyze images and videos.

To get started, choose a platform!

Sample Apps

See the Powered by Affdex page for more examples of apps that have integrated emotion detection, using our SDK.

With the Emotion API or SDK you can:

  • Detect and track human faces in an image.
  • Measure and track facial expressions of emotion in real time.
  • Track 20 highly nuanced facial expressions in real time.
  • Recognize aspects of physical appearance such as a person’s gender and whether they’re wearing glasses.
  • Identify 13 emoji expressions from posed faces.
  • Ensure your app users’ privacy–no videos or images are sent to our cloud for analysis.


For the SDK usage, we offer two licensing tiers as governed by our License Agreement:

  • Basic Free License The SDKs are free for use in personal and open source projects and for companies generating less than $1,000,000 in yearly revenue. Exclusions apply for market research and academic research, please see the license agreement.

  • Enterprise License For companies generating $1,000,000 or more in yearly revenue. Please contact our sales team for more information about getting an enterprise license.


About our Emotion AI Technology

The Emotion API and SDK are built on Affectiva’s industry-leading patented science. It’s designed to analyze spontaneous facial expressions that people show in their daily interactions. The highly accurate emotion recognition algorithms (classifiers) have been trained and tested using Affectiva’s massive emotion data repository—the world’s largest emotion database with more than 3.2 million faces from 75 countries analyzed, amounting to over 12 billion emotion data points. Designed for developer ease-of-use, processing of the emotion data is on-device (no cloud round trip), and the library is lightweight and fast to support a small memory footprint and real-time processing.

We are excited that you are using our emotion recognition technology. We are passionate about bringing emotional intelligence to the digital world, and look forward to seeing what amazing new apps and digital experiences you will emotion-enable using our technology.