Skip to content

Injamul2k24/Face-Recognition-Based-Smart-Attendance-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Face Recognition Based Smart Attendance System

A Python-based Smart Attendance System that uses Face Recognition technology to automatically identify individuals and record attendance in real time. The project leverages OpenCV and Machine Learning techniques to provide a fast, accurate, and contactless attendance solution.

๐Ÿš€ Features

  • Real-time face detection using OpenCV
  • Face recognition using trained face datasets
  • Automatic attendance marking
  • User-friendly interface
  • Stores face data for future recognition
  • Reduces manual attendance errors
  • Fast and efficient attendance management

๐Ÿ› ๏ธ Technologies Used

  • Python
  • OpenCV
  • NumPy
  • Pandas
  • Scikit-learn
  • Pickle

๐Ÿ“‚ Project Structure

Face-Recognition-Based-Smart-Attendance-System/
โ”‚
โ”œโ”€โ”€ add_faces.py
โ”œโ”€โ”€ app.py
โ”œโ”€โ”€ test.py
โ”œโ”€โ”€ background.png
โ”œโ”€โ”€ README.md
โ”‚
โ””โ”€โ”€ data/
    โ”œโ”€โ”€ faces_data.pkl
    โ”œโ”€โ”€ names.pkl
    โ””โ”€โ”€ haarcascade_frontalface_default.xml

โš™๏ธ Installation

Clone the Repository

git clone https://github.com/Injamul2k24/Face-Recognition-Based-Smart-Attendance-System.git
cd Face-Recognition-Based-Smart-Attendance-System

Create Virtual Environment

python -m venv .venv

Activate Virtual Environment

Windows:

.venv\Scripts\activate

Install Dependencies

pip install -r requirements.txt

โ–ถ๏ธ Usage

Step 1: Add Face Data

python add_faces.py

Step 2: Run Face Recognition Attendance System

python app.py

Step 3: Test Saved Face Data

python test.py

๐Ÿ“ธ Screenshots

Home Screen

![Home Screen](screenshots/home.png)

Face Registration

Screenshot 2026-06-20 114941

Attendance Marking

image

๐ŸŽฏ Applications

  • Educational Institutions
  • Offices and Workplaces
  • Training Centers
  • Events and Conferences
  • Smart Campus Management

๐Ÿ”ฎ Future Enhancements

  • Database Integration (MySQL/MongoDB)
  • Cloud-based Attendance Tracking
  • Web Dashboard
  • Mobile Application Support
  • Email Notifications
  • Face Mask Detection

๐Ÿ‘จโ€๐Ÿ’ป Author

Injamul Hoque

GitHub: https://github.com/Injamul2k24

โญ Support

If you found this project useful, please give it a โญ on GitHub and share it with others.

About

Developed an AI-powered smart attendance system using Face Recognition and Computer Vision techniques. Implemented real-time face detection using OpenCV Haar Cascade Classifier and webcam integration. Trained a K-Nearest Neighbors (KNN) model for accurate face recognition and identity prediction.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages