Run the following command to create a new Conda environment named tf2:
conda create --name tf2 python==3.9.21Use the provided requirements.txt file to install dependencies:
pip install -r requirements.txtNote: If you encounter any missing modules while running the project, install them using pip and update the
requirements.txtfile accordingly.
Data Pipeline:
- 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
- crop_image.py
- This file contains the function to crop the face from the image.
The model
- verification.ipynb
- This file contains the code to train the verification model.
- recognition.ipynb
- This file contains the code to train the recognition model.
- Implement a more robust database solution.
- Train and integrate a face verification model.
- Explore data augmentation techniques for improved model performance.