Expression (emotion) analysis on faces found in video files using Microsofts Emotion API.
Before you begin, you'll of course need the Go programming language installed.
Install: GoCV
Gain access to a Microsofts Emotion API and grab an API key and host from their Azure Portal.
Export emotion_key
and emotion_host
:
export emotion_key={API Key}
export emotion_host={Host}
- Clone this repo.
- Run
dep ensure
- Build the application with
go build
. - Run the program according the usage below.
expression -video {video file path}
video is a required parameter.
-[ ] Combine with body posture detection to evaluate based on body language general sentiment of human -[ ] Combine with NLP to see if their words match their facial expression and general body posture, or if there's a disconnect.