Face recognition using python and mysql.
Create virtual environment using Anaconda.
conda create -n face python=3.x
conda activate face
pip install -r requirements.txt
cd app/cv_backend
tar -xvzf train.tar.gz
You should obtain an account and password after MySQL installation. Change db_user
, db_passwd
, db_name
in app/config.yml
accordingly.
This app uses the gmail SMTP server. To use the "send to my email" feature, change the credentials in app/config.yaml
.
You also need to enable "Less secure app access" in gmail: See https://myaccount.google.com/lesssecureapps.
python app/Welcome_code.py
The camera will be activated and recognize your face using the pretrained model.