/Face-Verification

An app having simple GUI, which can verify if two images have same faces, using several techniques

Primary LanguageJupyter Notebook

Face Verification Web App

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.

Project Description

This project is a web application designed for face verification. It incorporates three different techniques:

  1. KNN: Utilizes the K-Nearest Neighbors algorithm for face verification.
  2. Deep Face: Employs deep learning techniques for face recognition and verification.
  3. Siamese Network: Uses a Siamese neural network architecture for face verification tasks.

Setup Guide

  1. Prerequisites: Ensure you have Node.js, npm and python (Node Package Manager) installed on your system.

    Versions Used:

    • Python 3.11.0
    • Node 20.11.0
  2. Create Your Database:

    • Create a folder named data.
    • Inside the data folder, create three sub-directories:
      1. anchor: Contains images to be used as anchor images for verification.
      2. positive: Contains positive images (same person as anchor) for verification.
      3. negative: Contains negative images (different person than anchor) for verification.
  3. Update Path to Data:

    • Update the path to your data in the notebook (.ipynb file) to reflect the structure of your dataset.
  4. Run the Notebook:

    • Run the notebook to create and train your own face verification model using the specified techniques.
  5. Start the Server:

    • Navigate to the root directory where requirements.txt and package.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.

Additional Notes

  • 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.