This web application utilizes Affectiva (https://www.affectiva.com) to detect four emotions from users' facial expressions using a webcam. Each emotion is represented visually using a color overlaid on top of the video feed and the corresponding emoji adjacent to the video feed display. The intended purpose of the application is to represent emotions in a clear and simple way to facilitate teaching emotions and emotional expressions to children with Autism Spectrum Disorder.
The application requires running on Chrome or Firefox. It does not work on any version of Safari.
- Download the program files and place them into a new folder.
- Open a terminal window and cd into the folder that contains the program files.
- Run "python -m SimpleHTTPServer".
- Open a new window in Chrome or Firefox and navigate to http://localhost:8000. Follow the instructions on the page for starting and stopping the emotion detector.