Code Monkey home page Code Monkey logo

affdexme-win's Introduction

AffdexMe

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 facial expression of emotion.

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

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
  • Display metrics - Displays the emotion and expressions
  • Display emojis - Displays the most likely / dominant emoji
  • Display Appearance - Displays appearance metrics (gender / eye glasses)
  • Take a screenshot - Takes a screenshot of the camera feed with the metrics overlayed
  • Stop - Stops the camera processing
  • Exit - exits the application

It runs on Windows 7.0, 8.0, 8.1 and 10

To build this project from source, you will need:

  • Visual Studio 2013

  • To download and install the Windows SDK (32-bit) from Affectiva.

    By default, the Windows SDK is installed to the following location: C:\Program Files (x86)\Affectiva\Affdex SDK

    Modify the FilePath.GetClassifierDataFolder and FilePath.GetAffdexLicense in FilePath.cs:

    • FilePath.GetClassifierDataFolder

      The function should return the full path of the Affdex SDK data folder.

      If you installed Affdex SDK in a location other than the default. Please change the return value to match the location of the data folder in your installed location.

    • FilePath.GetAffdexLicense

      The function reads the license file and returns its contents. You can signup for an evaluation license to use with the app by filling this form

      Set string fileName variable to the location of the your license file

  • Build the project

  • Run the app through Visual Studio

Note 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.

Emoji Icons provided free by Emoji One

Copyright (c) 2016 Affectiva. All rights reserved.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.