Welcome to the Face Verification Web App project! This web app utilizes three techniques—KNN, Deep Face, and Siamese Network—for face verification. Follow the setup guide below to get started with your own model and run the web app.
This project is a web application designed for face verification. It incorporates three different techniques:
- KNN: Utilizes the K-Nearest Neighbors algorithm for face verification.
- Deep Face: Employs deep learning techniques for face recognition and verification.
- Siamese Network: Uses a Siamese neural network architecture for face verification tasks.
- References
- Siamese Network : Link to Paper
-
Prerequisites: Ensure you have
Node.js
,npm
andpython
(Node Package Manager) installed on your system.Versions Used:
Python 3.11.0
Node 20.11.0
-
Create Your Database:
- Create a folder named
data
. - Inside the
data
folder, create three sub-directories:anchor
: Contains images to be used as anchor images for verification.positive
: Contains positive images (same person as anchor) for verification.negative
: Contains negative images (different person than anchor) for verification.
- Create a folder named
-
Update Path to Data:
- Update the path to your data in the notebook (
.ipynb file
) to reflect the structure of your dataset.
- Update the path to your data in the notebook (
-
Run the Notebook:
- Run the notebook to create and train your own face verification model using the specified techniques.
-
Start the Server:
- Navigate to the root directory where
requirements.txt
andpackage.json
files are located. - Run
pip install requirements.txt
to install necessary python packages. - Run
npm install
to install necessary dependencies. - Run
node server.js
to spin up the server. - Voilà! Your project is now running, and you can access the web app for face verification tasks.
- Navigate to the root directory where
- Make sure to have the required libraries and frameworks installed for running the notebook and the server.
- If the
python
files is not getting executed, just create a virtual environament and try running the project there. - Customize the web app interface and functionalities as per your requirements.
Enjoy exploring face verification with your web app! If you need further assistance or have any questions, feel free to reach out.