Skip to content

This project automates attendance using facial recognition. ๐Ÿ‘จโ€๐ŸŽ“๐Ÿ“Š.

License

Notifications You must be signed in to change notification settings

nasim-raj-laskar/Attendance-System

Repository files navigation

โœจ Attendance Recognition System โœจ

Welcome to the Attendance Recognition System repository! This project is designed to streamline attendance tracking using facial recognition technology. Below is an overview of the project, its structure, and how to get started.


๐ŸŒ Project Features

  • ๐Ÿ‘จโ€๐ŸŽ“ Student Dataset Creation: Easily create datasets for students using the data_creation.py script.
  • ๐Ÿ•ต๏ธโ€โ™‚๏ธ Facial Recognition: Detect and recognize student faces using advanced pre-trained models.
  • ๐Ÿ“ƒ Attendance Logging: Automatically log attendance into a CSV file (attendance_log.csv).
  • ๐Ÿ“Š Data Preprocessing: Preprocess and embed dataset images for improved model performance.
  • ๐Ÿ† Model Training: Train an SVC model for robust facial recognition.
  • ๐Ÿ”„ Dashboard Visualization: View attendance logs in an intuitive GUI dashboard.

๐Ÿ”  Repository Structure

Hereโ€™s a breakdown of the repository contents:

๐Ÿ“‚ Folders

๐Ÿ—ž๏ธ Key Files

๐Ÿš€ Getting Started

โš™๏ธ Prerequisites

Ensure you have the following installed:

  • ๐Ÿ’ป Python 3.8
  • ๐Ÿ“– Required Python libraries:
    • OpenCV
    • NumPy
    • Scikit-learn
    • Pickle

๐Ÿ”ง Setup

  1. Clone the repository:
    git clone https://github.com/your-repo/FaceRec-Attendance.git
    cd attendance-recognition

๐Ÿšช Running the Project

  1. ๐Ÿ“ธ Create Student Datasets:
    python data_creation.py
  2. โš™๏ธ Preprocess Images:
    python pre-processing.py
  3. ๐Ÿ† Train the Model:
    python model-training.py
  4. ๐Ÿ•ต๏ธโ€โ™‚๏ธ Recognize Faces & Log Attendance:
    python Attendance-recognition.py
  5. ๐Ÿ”ง View Attendance Logs in GUI:
    python dashboard.py

๐Ÿ”ง How It Works

  1. ๐Ÿ“ธ Dataset Creation: Use data_creation.py to capture images of students and store them in the datasets/ folder.
  2. ๐Ÿ”„ Preprocessing: The pre-processing.py script processes images and creates embeddings for better recognition.
  3. ๐Ÿ‹๏ธโ€โ™‚๏ธ Model Training: Train the SVC model using model-training.py with the processed embeddings.
  4. ๐Ÿ•ต๏ธ Face Recognition: The Attendance-recognition.py script identifies students from student.csv and logs their attendance.
  5. ๐Ÿ“Š Dashboard: Visualize attendance data in an interactive GUI via dashboard.py.

๐Ÿ“Š Example Output

  • Attendance logs are stored in attendance_log.csv.
  • Example:
    Student Name,Date,Time
    John Doe,2024-12-20,10:30 AM
    

๐Ÿ”ง License

This project is licensed under the MIT License. See the LICENSE file for more details.

Releases

No releases published

Packages

No packages published

Languages