Real-time Emotion-Based, Snapchat-esque Dog Filter using Computer Vision
Want an in-person tutorial with step-by-step walkthroughs and explanations? See the corresponding AirBnb experience for both beginner and experienced coders alike, at “Build a Dog Filter with Computer Vision”
This repository includes all source code for the tutorial on DigitalOcean with the same title, including:
created by Alvin Wan, December 2017
You can setup the repository using Python or view the web demo at dogfilter.alvinwan.com
For complete step-by-step instructions, see the tutorial on DigitalOcean. This codebase was developed and tested using Python 3.6
. If you’re familiar with Python, then see the below to skip the tutorial and get started quickly:
(Optional) Setup a Python virtual environment with Python 3.6.
pip install -r requirements.txt
src
.
cd src
python step_8_dog_emotion_mask.py
See the below resources for explanations of related concepts:
These models are trained on a Face Emotion Recognition (FER) dataset curated by Pierre-Luc Carrier and Aaron Courville in 2013, as published on Kaggle.