/Gender-Age-ID

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

Primary LanguagePythonMIT LicenseMIT

Twitter: @NorowaretaGemu License: MIT


ko-fi

Python
OpenCV Flask
Git PowerShell Shell Batch

Gender-Age-ID


Age-Gender Demo Image

Age-Gender Demo Image

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

Age-Gender Demo Image

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


SynthWomb

CursedEntertainment Logo