Skip to content

yashgoyal-16/Attendance-system-using-face-recognition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Face Recognition Attendance System

This is a simple face recognition attendance system written in Python using the face_recognition library and OpenCV. The script captures video from the default camera, detects faces, and matches them against a pre-registered list of students. It then logs the attendance of recognized students in a CSV file with their names and the timestamp.

Prerequisites

Before running the script, make sure you have the required libraries installed:

pip install face_recognition opencv-python numpy

Usage

  1. Clone the repository:
  2. git clone https://github.com/yourusername/your-repo.git
    cd your-repo

    Run the script: python attendance_system.py

    Follow the on-screen prompts to input the number of students and their names along with the corresponding image addresses The script will start capturing video from the default camera and recognize faces. The recognized students' names will be displayed on the video feed, and attendance will be logged in a CSV file named with the current date.

    Press 'q' to exit the program.

Note

    Ensure that the face images provided during setup are clear and have only one face per image for accurate recognition. Make sure to run the script in an environment with a camera available. The attendance log will be stored in a CSV file with the format YY-MM-DD.csv.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages