Spectacular Mood Meter - for V2_'s Evening of the Black Box.
Find a file
Abdelrahman Mahmoud dec27faa6b Update README.md
2016-02-03 07:22:00 -05:00
common Squashed commit of the following: 2016-02-03 07:20:08 -05:00
opencv-webcam-demo Squashed commit of the following: 2016-02-03 07:20:08 -05:00
video-demo Squashed commit of the following: 2016-02-03 07:20:08 -05:00
.gitignore Initial commit 2015-03-09 17:32:50 -04:00
affdex-win-samples.sln Squashed commit of the following: 2016-02-03 07:20:08 -05:00
LICENSE.txt Add license file to the repository 2016-01-05 11:36:58 -05:00
README.md Update README.md 2016-02-03 07:22:00 -05:00

#Sample Apps for Affdex SDK for Windows

Welcome to our repository on GitHub! Here you will find example code to get you started with our Affdex SDK 3.0 for Windows and begin emotion-enabling you own app! Documentation for the Windows SDK is at Affectiva's Developer Portal.

[Build status] (https://ci.appveyor.com/project/ahamino/win-sdk-samples)

Dependencies

  • Affdex SDK 3.0 (32 bit)
  • Visual Studio 2013 or higher

Additional dependencies for the C++ projects

  • OpenCV 3.1
  • Boost 1.59

Installation

  • Download Affdex SDK for windows from here
  • Sign up for an evaluation license by submitting this form
  • Install the SDK using MSI installer.
  • The additional dependencies get installed automatically by NuGet.

OpenCV-webcam-demo (c++)

Project for demoing the FrameDetector class. It grabs frames from the camera, analyzes them and displays the results on screen.

The following command line arguments can be used to run it:

-h [ --help ]                        Display this help message.
-d [ --data ] arg (=data)            Path to the data folder
-l [ --license ] arg (=test.license) License file.
-r [ --resolution ] arg (=640 480)   Resolution in pixels (2-values): width
                                     height
--pfps arg (=30)                     Processing framerate.
--cfps arg (=30)                     Camera capture framerate.
--bufferLen arg (=30)                process buffer size.
--cid arg (=0)                       Camera ID.
--faceMode arg (=0)                  Face detector mode (large faces vs small
                                    faces).
--numFaces arg (=1)                  Number of faces to be tracked.
--draw arg (=1)                      Draw metrics on screen.

Video-demo (c++)

Project for demoing the Windows SDK VideoDetector class. It processs video files, displays the emotion metrics and exports the results in a csv file.

The following command line arguments can be used to run it:

-h [ --help ]                        Display this help message.
-d [ --data ] arg (=data)            Path to the data folder
-l [ --license ] arg (=test.license) License file.
-i [ --input ] arg                   Video file to processs
--pfps arg (=30)                     Processing framerate.
--draw arg (=1)                      Draw video on screen.
--faceMode arg (=1)                  Face detector mode (large faces vs small
                                     faces).
--numFaces arg (=1)                  Number of faces to be tracked.
--loop arg (=0)                      Loop over the video being processed.

For an example of how to use Affdex in a C# application .. please refer to AffdexMe