This project uses face recognition to mark attendance in real-time. The system captures video from the camera and identifies individuals in the video stream by matching their faces with pre-stored images.
- The system captures video from the camera.
- Each frame of the video is analyzed to identify faces.
- The faces are compared against a pre-stored set of images to identify individuals.
- If a face matches a pre-stored image, the system marks that individual as "present" and records their name and the current time in a CSV file.
- The system displays the video stream with names of identified individuals marked as "present".
- Python 3.6 or later
- face_recognition library
- opencv-python library
- numpy library
- Clone this repository
- Install the required libraries: 'pip install face_recognition opencv-python numpy'
- Create a 'photos' directory and add the images of individuals you want to recognize.
- Run 'python attendance.py' to start the system.
- The program will automatically detect faces in the camera's feed, recognize them, and mark their attendance by writing their name and the current time to a CSV file.
- Press 'q' to exit the system.
This project was created by Rahul Mk and was inspired by the face_recognition library created by Adam Geitgey. Special thanks to Adam for making this project possible.