Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

CursedPrograms/Gender-Age-ID

Repository files navigation




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:

Install Requirements

Using Python directly:

pip install -r requirements.txt

Or run:

  • install_requirements.bat


Run main.py

Using Python directly:

python main.py

Using provided scripts:

Windows:

  • .\run.bat or
  • .\run.ps1

Unix-like systems (Linux/macOS):

  • .\run.sh


Requirements:

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


Cursed Entertainment 2024



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

Readme

License

MIT license

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors