Skip to content

mzeeshanh-dev/face-eye-gender-detection-python

Repository files navigation

Face, Eye, and Gender Detection using OpenCV | AI Project

This Python project performs real-time face, eye, and gender detection using OpenCV and pre-trained deep learning models. It utilizes Haar Cascade classifiers for face and eye detection, and a pre-trained Caffe model for gender classification. Face and eye could be seen as rectangle blue and green. While Gender can be seen written above

🔍 Features

  • Real-time face detection
  • Eye detection within detected faces
  • Gender prediction (Male / Female)
  • Uses webcam input
  • Easy to run and modify

🛠 Technologies Used

  • Python

  • OpenCV

  • Pre-trained models:

    • haarcascade_frontalface_default.xml
    • haarcascade_eye.xml
    • gender_deploy.prototxt
    • gender_net.caffemodel

📁 Project Structure

--> app.py --> gender --> haarcascade_frontalface_default.xml --> haarcascade_eye.xml --> gender_deploy.prototxt --> gender_net.caffemodel --> Readme.md --> requirements.txt

▶️ How to Run

  1. Clone the Repository

Commands to Clone the project using git

git clone https://github.com/your-username/face-eye-gender-detection.git cd face-eye-gender-detection

  1. Install Dependecies

pip install -r requirements.txt

  1. Run the project python app.py

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages