Introducing the Affdex SDK

We are surrounded by highly-connected smart devices, interactive digital experiences and artificial intelligence. Yet, technology is not able to sense, analyze and adapt to human emotions. At Affectiva, we have made it our mission to bring emotional intelligence to the digital world. To make this mission a reality, we have created the Affdex SDK so that others can bring emotion sensing and analytics to their own offerings, be it digital experiences, apps, games, devices, or other technologies.

Using our SDK, developers can now enrich digital experiences and apps by detecting emotion. Devices can now instantly respond to a user’s unfiltered emotions, and apps can adjust their interfaces and flow to better suit moods. This makes for a more authentic, interactive, and unique experience.

With the Affdex SDK you can:

All processing is done on device—no videos or images are sent to our cloud.

The Affdex SDK is available for the following platforms:


How to Get Started

  1. Sign up for a license
    Choose the programming language and the platform, and sign up to download the SDK license file. A free 45-day evaluation license can be obtained by submitting this form.
  2. Download the SDK
    Download the SDK build for the chosen platform.

  3. Study the documentation
    Check out the platforms section and the class docs.
  4. View the sample code
    Check out the sample applications posted on our github repositories.
    Use them as examples of how to use the SDK and build on them.

Try out AffdexMe

AffdexMe is an open source application that demonstrates the use of the Affdex SDK. It uses the camera connected to your device to view, process and analyze live video of your face. Start the app and you will see your own face on the screen, and metrics describing your facial expression of emotion. Download it from here

About Affectiva’s Affdex Technology

The Affdex SDK is 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 Affdex SDK. 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.

We are always interested in promoting and marketing new solutions built with our SDK. Just send us a note at if you would like to share with us what you are working on.