A facial recognition system. The system is capable of recognizing faces in a live video stream, and to identify pre-trained faces.
- Install
Anaconda
to do this. - Create
Almighty-eye
environment. Run on terminal:
conda create -n your_env_name python=3.6
- Activate the environment with:
conda activate your_env_name
- Install the necessary libraries. Into the folder of the project, run:
pip install -r requirements.txt
- Install openCV through conda command:
conda install -c conda-forge opencv
- Install pillow through conda command:
conda install -c conda pillow
- Inside the
sys/
directory, create adataset/
folder. - In the
dataset/
directory create folders with the name of the person to be identified
- Run in the terminal with the virtual environment activate:
python3 main.py
- In the camera open, press
q
to exit program
- Create a folder inside dataset with the name of the person.
- Put pictures of her face inside the folder.
- Run
model.py
file to training the model. - Run
main.py
to start the recognition *note: we recommend you to get at least 20 images on each dataset
- Image search engines tutorials
PyImageSearch
. FaceNet: A Unified Embeddings for Face Recognition and Clustering
- The database used to train the Not Recognized persons
allfaces