CursedPrograms / 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.

Home Page:https://cursedprograms.github.io/gender-age-id-pr/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

https://cursedprograms.github.io/gender-age-id-pr/

License:MIT License


Languages

Language:Python 82.7%Language:JSON 5.8%Language:HTML 5.6%Language:Batchfile 2.9%Language:Brainfuck 1.9%Language:Text 0.6%Language:CSS 0.6%Language:Shell 0.1%