#face identification application
##about this is a simple facial identification tool. it is currently a skeleton where you can put images to train the model.
##how to use
####to install locally
- clone the directory
- in directory root, run
python3 -m venv venv
in terminal to create a virtual environment called venv - run
source venv/bin/activate
to activate the virtual environment - in directory root, run
pip install -r requirements.txt
- run
pip freeze
to make sure that the correct dependencies are installed - run
python test/camera_test.py
to make sure that the camera and opencv are functional, q to cancel
####to run facial recognition
- run
python src/face.py
####to train model
- make images directory in src
- make a directory with a name (ie. Alex) in the images directory
- fill that directory with images of a person
- from directory root, run
python src/learn.py
- run
python src/face.py
, you should see a name above the box if the model learned the face
##dependencies
- python3
- pip
- pillow => python imaging library
- opencv