Skip to content

Latest commit

 

History

History
142 lines (110 loc) · 4.03 KB

README.md

File metadata and controls

142 lines (110 loc) · 4.03 KB

Twitter: @NorowaretaGemu License: MIT



Python
OpenCV Flask
Git PowerShell Shell Batch

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