Term project for 15-112 Fundamentals of Programming and Computer Science offered at Carnegie Mellon University. Catch candy flying candy with your mouth!
Please follow this guide to install OpenCV and a virtual environment.
https://www.pyimagesearch.com/2016/10/24/ubuntu-16-04-how-to-install-opencv/
Using a virtual environment is highly recommended.
To install other (non-OpenCV dependencies), please run pip install -r requirements.txt
.
Again, it is advised that this is done in a virtual environment.
- Tkinter (for graphics)
- OpenCV (for image recognition)
- dlib (for facial landmark recognition)
Please do not activate virtual environment before running code .
. Activate virtual environment by running $ workon cv
in the integrated terminal after opening Code.
There was a bug that said the camera was busy...restarting fixed it, but watch out for it.
Huge thanks to Adrian Rosebrock from www.pyimagesearch.com. His tutorials were very useful in getting acquainted with OpenCV. He can also help with setting up virtual environments quickly and easily, so please visit his site.