Skip to content

Latest commit

 

History

History
89 lines (61 loc) · 2.22 KB

README.md

File metadata and controls

89 lines (61 loc) · 2.22 KB

Computer Vision Based Realtime Attendance Logger

This project implements a real-time attendance logging system using computer vision. It leverages facial recognition to track attendance and log it automatically from video feed.


Features

  • Real-time facial detection for attendance tracking.
  • Logs attendance to a database.
  • Uses pre-trained models for facial recognition.
  • Supports live webcam input.

Project Structure

  • detector.py: The script for detecting faces in the video feed.
  • recognizer.py: Handles facial recognition to match faces to known individuals.
  • trainer.py: Used for training the model with facial data.
  • viewer.py: View logged attendance
  • sqlprp: To create database
  • trained_model.yml: Stores the trained model for facial recognition.
  • test.py: Extra features in development
  • requirements.txt: Lists necessary Python dependencies.

Prerequisites

  • Python 3.7 or higher.
  • Required Python libraries listed in requirements.txt.

Installation

  1. Clone the repository:

    git clone https://github.com/vaibhavcode/cs-project.git
    cd cs-project
  2. Install dependencies: Install all required Python libraries:

    pip install -r requirements.txt
  3. Train the model: If you haven't already, train the facial recognition model by running:

    python trainer.py
  4. Run the application: Execute the attendance logging system:

    python detector.py

How It Works

  1. The system captures video frames from a webcam.
  2. Detected faces are matched against known individuals using a pre-trained model.
  3. If a match is found, the individual's attendance is logged in a database.
  4. The live video feed is displayed with detection boxes highlighting recognized faces.

Contributors

  • Vaibhav Khurana
  • Avneta Malhotra
  • Anoushak Saini

License

This project is licensed under the MIT License. Feel free to use, modify, and distribute the code under the terms of the license.


Acknowledgements

I would like to express my sincere gratitude to Mrs. Deepika Pareek for her invaluable support throughout our project.