Skip to content

ShaikZaheer-developer/face-recognition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ‘οΈ Face Recognition System

Automated Facial Recognition using OpenCV & Machine Learning

πŸ”Ή Author: Zaheer Shaik

AI & Software Engineer | Passionate about Machine Learning, Computer Vision, and Scalable Systems

πŸ“– Overview

This project is a Face Recognition System built using Python and OpenCV, designed to detect, train, and recognize human faces from real-time camera input. It demonstrates how computer vision and machine learning can be integrated to create smart and secure systems β€” such as authentication, attendance monitoring, and surveillance.

The system follows a simple but powerful pipeline:

Face Detection using Haar Cascade Classifier.

Dataset Generation for multiple users.

Model Training using OpenCV’s LBPH (Local Binary Patterns Histogram).

Real-time Recognition via webcam feed.

πŸš€ Features

βœ… Real-time face detection and recognition βœ… Simple and modular code structure βœ… Easy to extend for multiple users βœ… Dataset generator for new faces βœ… Trained model storage and reusability βœ… Lightweight β€” runs efficiently on any machine

🧠 Tech Stack

Programming Language: Python 3.x

Libraries: OpenCV, NumPy, OS

Model Used: LBPH Face Recognizer (Local Binary Pattern Histogram)

Classifier: Haar Cascade Frontal Face

πŸ“‚ Project Structure face-recognition/ β”‚ β”œβ”€β”€ face_dataset.py # Captures and stores face samples β”œβ”€β”€ training.py # Trains the model using the stored dataset β”œβ”€β”€ face_recognition.py # Recognizes faces in real-time via webcam β”œβ”€β”€ haarcascade_frontalface_default.xml # Haar Cascade model for detection └── README.md # Project documentation

βš™οΈ How to Run 1️⃣ Clone this Repository git clone https://github.com/ShaikZaheer-developer/face-recognition.git cd face-recognition

2️⃣ Install Dependencies pip install opencv-python numpy

3️⃣ Generate Face Dataset

Run the dataset script and follow the on-screen instructions to capture your images:

python face_dataset.py

4️⃣ Train the Model

Train the face recognizer using the saved dataset:

python training.py

5️⃣ Recognize Faces in Real-Time

Launch the real-time recognition system:

python face_recognition.py

πŸ’‘ Use Cases

Attendance management systems

Access control & security systems

Personalized customer experience

Smart IoT and home automation

🧩 Future Enhancements

πŸ”Ή Integrate with deep learning (CNNs) for higher accuracy πŸ”Ή Cloud-based recognition using TensorFlow or PyTorch πŸ”Ή Add face mask detection and emotion analysis πŸ”Ή Web interface for dataset management

πŸ§‘β€πŸ’» About the Developer

πŸ‘‹ Hi! I’m Zaheer Shaik, a final-year AI & Data Science student passionate about machine learning, computer vision, and intelligent automation.

I love building projects that connect AI with real-world applications β€” from healthcare to cybersecurity. If you're an MNC looking for a dedicated and creative AI developer, let’s connect!

πŸ“« Reach me on:

LinkedIn : https://www.linkedin.com/in/zaheershaik2/

πŸ“§ shaikzaheer.dev@gmail.com

⭐ Support

If you found this project helpful, please star this repo ⭐ β€” it motivates me to keep building innovative AI solutions!

About

it is a face recognition project using python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages