affdex-sdk-cpp-samples/AffdexMe/README.md
2015-04-21 14:21:17 -04:00

53 lines
2.7 KiB
Markdown

# AffdexMe
**Affdex SDK** is the culmination of years of scientific research into emotion detection, validated across thousands of tests worldwide on PC platforms, and now made available as a software development kit for Windows. Affdex SDK turns your ordinary app into an extraordinary app by emotion-enabling it to respond in real-time to user emotions.
**AffdexMe** is a windows application that demonstrates the use of the Affdex SDK for Windows. It uses the camera on your Windows PC 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 expressions.
#### This app includes the following command buttons:
* Start - Starts the camera processing.
* Reset - Resets the context of the video frames.
* ShowPoints/HidePoints - toggles the display of facial feature points, which Affdex uses to detect expressions.
* Stop - Stops the camera processing.
* Exit - exits the application.
This application runs on Windows 7.0, 8.0 and 8.1
#### To use this project, you will need:
* Visual Studio 2013
* To download and install the Windows SDK from Affectiva By default, the Windows SDK is installed to the following location: C:\Program Files (x86)\Affectiva\Affdex SDK
If you have installed the SDK to a location other than the default, you will have to modify the following String constants located in the MainWindow.xaml.cs file:
* **AFFDEX_DATA_PATH** - the classifier data path
* **AFFDEX_LICENSE_FILE** - the full path to the Affdex license file (including the license file name)
* The AffdexMe app can be built and run in either debug or release mode.
**To build and run in Debug Mode**
* Through Visual Studio select the "Debug" configuration.
* Add the following to your system path: C:\Program Files (x86)\Affectiva\Affdex SDK\bin\debug
* Clean, rebuild and then run the project.
**To build and run in Release Mode:**
* Through Visual Studio select the "Debug" configuration.
* Add the following to your system path: C:\Program Files (x86)\Affectiva\Affdex SDK\bin\release
* Clean, rebuild and then run the project.
**It is important** not to mix Release and Debug versions of the DLLs. If you run into issues when switching between the two different build types, check to make sure that your system path points to the matching build type.
* In order to modify the system path, from the Control Panel, navigiate to the following: **Control Panel -> Advanced System Settings -> Environment Variables -> System Variables -> Path**
* Build the project
* Run the app through Visual Studio
Copyright (c) 2015 Affectiva. All rights reserved.