A very, very, very simple game using OpenCV, Python and MS Emotion API (you will need an account, free, to use the game). The game will randomly pick an emotion each turn and the user(s) need to express that emotion (yup, funny faces) to get a high score!
I'm in a hurry, the game is still full of bugs, so check directly the IPython notebook for details:
Simon Says Emotions Game!
If you don't have Jupyter installed, just execute:
python simon_says_game.py
I've added the source code from my repositories:
- Using IPython and a webcam to use the Emotion Analysis from MS Cognitive services
- Converting from Matplotlib figures to OpenCV
- Converting from OpenCV to the format necessary to send the image through HTTP to MS Cognitive Services
I started thinking about this game after reading this:
Raspberry PI robot that reads your emotions
And now I'm in HaD too!
SIMON SAYS SMILE, HUMAN!