Skip to content

Saran416/MainGate-Face-Detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Face Verification System

Setup

Create a Conda Environment

Run the following command to create a new Conda environment named tf2:

conda create --name tf2 python==3.9.21

Install Requirements

Use the provided requirements.txt file to install dependencies:

pip install -r requirements.txt

Note: If you encounter any missing modules while running the project, install them using pip and update the requirements.txt file accordingly.


Project Structure

Data Pipeline:

  1. app.py
  • This is the main file to run the streamlit app.
  • It captures the image using the webcam.
  • crops the face using Face Detection.
  • saves the image in a MongoDB database.
streamlit run app.py
  1. crop_image.py
  • This file contains the function to crop the face from the image.

The model

  1. verification.ipynb
  • This file contains the code to train the verification model.
  1. recognition.ipynb
  • This file contains the code to train the recognition model.

Future Improvements

  1. Implement a more robust database solution.
  2. Train and integrate a face verification model.
  3. Explore data augmentation techniques for improved model performance.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •