Feature for applying Snapchat-alike filters like Roboy mask, mustache, pixelated sunglasses, flies, hat, crown and rainbow automatic in-face superposition in real time.
- OpenCV 3.0+ with python bindings
- Python 2.7
- pillow
- numpy
- tkinter
- Python bindings of dlib.
- ROS Kinetic
- ROSbridge
- Catkin Workspace
Install OpenCV, see this web page or install the light version with sudo apt-get install libopencv-dev python-opencv
For installing Tkinter execute apt-get install python-tk
For installing NumPy execute sudo apt-get install build-essential python-dev
For installing Pillow excute sudo apt install python-pil
For Dlib installation make sure you have the prerequisites:
sudo apt-get install build-essential cmake
sudo apt-get install libgtk-3-dev
sudo apt-get install libboost-all-dev
Finally install it with pip install dlib
in terminal with roscore
In a new terminal go to /roboy_snapchat_filter/scripts/ directory and execute rosrun roboy_snapchat_filter snapchat_server.py