- Face Detection using MTCNN
- Calculate Face Embedding using FaceNet
- Face Verification using cosine distance
- Python 3.9
- pip
- git bash
- conda (python environment manager)
-
Clone the repository
git clone https://github.com/Deepanshu0810/face-recognition-verification.git cd face-recognition-verification -
Create a virtual environment
conda create -p env python==3.9 conda activate env/
-
Install the requirements
pip install -r requirements.txt
-
Run the application
python app.py
-
Open the browser and go to the following link
http://localhost:5000
- Go to
new_datafolder - Create a new folder with the name of the person
- Add the images of the person in the folder
- Run the following command
cd face-recognition-verification python train.py - Restart the application