Skip to content

CursedPrograms/Gender-Age-ID

Repository files navigation

Python
OpenCV Flask

Gender-Age-ID

This Python project utilizes the DeepFace library along with OpenCV to extract gender information from input images and webcam feeds. The gender and age prediction results are printed.

Scripts:

  • main.py: The selection menu for Gender-Age-ID
  • app.py: Gender-Age-ID on a web-server

/scripts/

  • gender_predictor.py: Predicts gender from an input
  • gender_age_predictor.py: Predicts gender and age from an input
  • gender_age_predictor_webcam.py: Predicts gender and age from a webcam feed
  • install_dependencies.py: Install dependencies

How to Run:

pip install -r requirements.txt
python main.py

To make the setup script executable, run the following command in your terminal:

chmod +x setup.sh

Requirements:

deepface==0.0.81
opencv-python==4.8.1.78
Pillow==8.3.2
flask==3.0.0


About

This project utilizes the DeepFace library along with OpenCV to extract gender information from an input. The gender prediction results are printed.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published