A simple Snapchat camera clone written in Python which makes use of OpenCV and a Dlib-based face detection and recognition library called face_recognition.
- Install Python 3 on your machine.
- Clone this repo
[email protected]:nicholaskajoh/snapclone.git
. - Create and/or use a virtual environment.
- Run
pip install -r requirements.txt
to install dependencies. - Run
python snap_cam.py
.
- Use keys
1
,2
and3
to toggle glasses, headgears and masks respectively. - Use key
s
to take a photo. The images are stored in the photos folder. - Use key
q
to quit the program.