Spectacular Mood Meter - for V2_'s Evening of the Black Box.
Go to file
Abdelrahman Mahmoud 0d39ef4964 Squashed commit of the following:
commit 45c5b72d6c294fe1a4cd90f8090442d313886fc9
Author: Abdelrahman Mahmoud <mahmoud@affectiva.com>
Date:   Wed Feb 3 07:17:09 2016 -0500

    Remove affdex me .. fix dll references

commit 98bfdbc3302c1ba8226a4151826c541d8d250aa9
Author: Abdelrahman Mahmoud <ahamino@gmail.com>
Date:   Wed Feb 3 06:57:59 2016 -0500

    Update README.md

commit fd9dedbdc7daeeacc65ef1df8b79447e5e22cc64
Author: Abdelrahman Mahmoud <ahamino@gmail.com>
Date:   Tue Feb 2 15:43:00 2016 -0500

    Update README.md

    update appveyor badge

commit ccbd9770da316c35de75b47d749e14bd551acc2a
Author: Abdelrahman Mahmoud <mahmoud@affectiva.com>
Date:   Tue Feb 2 15:36:11 2016 -0500

    Update appveyor badge

commit b08547f1dd77548f24140e709a8574d23c8aa7db
Author: Abdelrahman Mahmoud <mahmoud@affectiva.com>
Date:   Tue Feb 2 15:32:03 2016 -0500

    Add appveyor badge

commit e0a2b36ca9fb0c828bf54c7326aa59a1fa6d1079
Author: Abdelrahman Mahmoud <mahmoud@affectiva.com>
Date:   Tue Feb 2 15:11:50 2016 -0500

    remove nuget references

commit b5561f7353381106ad5b133d3bc73d49d36bcbc0
Author: Abdelrahman Mahmoud <mahmoud@affectiva.com>
Date:   Tue Feb 2 15:01:15 2016 -0500

    remove nuget

commit ec3d93bb38e5390f176de23dd249b30e5420f3fb
Author: Abdelrahman Mahmoud <mahmoud@affectiva.com>
Date:   Tue Feb 2 14:09:28 2016 -0500

    More changes to get nuget working

commit ea9662b583d08fa9bae3b30cb2d909d288911b2e
Author: Abdelrahman Mahmoud <mahmoud@affectiva.com>
Date:   Tue Feb 2 12:53:20 2016 -0500

    Change the opencv version

commit 56ffaebfb3c3cdc1610f1ad2c67a47010d0e3dbf
Author: Abdelrahman Mahmoud <mahmoud@affectiva.com>
Date:   Tue Feb 2 12:29:22 2016 -0500

    Commit changes to the nuget configuration

commit 3e6aa2c2dc4a8cb97dd9999154b8c6fb5471c351
Author: Abdelrahman Mahmoud <mahmoud@affectiva.com>
Date:   Tue Feb 2 12:12:03 2016 -0500

    add nuget configuration

commit e69ea5e078b42a286f0ca27b09b922178e376cd1
Author: Abdelrahman Mahmoud <mahmoud@affectiva.com>
Date:   Mon Feb 1 17:02:38 2016 -0500

    Remove unecessary packages from nuget

commit 3f98b04af745b880be3f4be5d4e7d7a6174f2453
Author: Abdelrahman Mahmoud <mahmoud@affectiva.com>
Date:   Mon Dec 21 18:22:45 2015 -0500

    Update the documentation

commit a92352bea891e553fb8f8da61afda3fa255ec46f
Author: Abdelrahman Mahmoud <mahmoud@affectiva.com>
Date:   Mon Dec 21 17:54:55 2015 -0500

    Add video demo 2.1
2016-02-03 07:20:08 -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
LICENSE.txt Add license file to the repository 2016-01-05 11:36:58 -05:00
README.md Squashed commit of the following: 2016-02-03 07:20:08 -05:00
affdex-win-samples.sln Squashed commit of the following: 2016-02-03 07:20:08 -05:00

README.md

#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