This project is an attendance system that utilizes a webcam to detect and recognize faces. It employs the following technologies:
Data Preparation
Run the faces_data.py
file to create or update the pickle file containing face data and names. If the pickle file already exists, it will append new face data and names to the existing file. The face detection is performed using the Haar Cascade classifier.
Take Attendance
Run the take_attendance.py
file to open the webcam and start the attendance process. Press the 'O' key to record the attendance of the recognized person. The system will provide an audio feedback saying "Attendance taken".
View Attendance Records
To view the attendance records, run the app.py
file using the following command:
This will launch a Streamlit application in your default web browser, displaying the attendance records.
faces_data.py
: Script to create or update the pickle file with face data and names.take_attendance.py
: Script to open the webcam, detect faces, and record attendance.app.py
: Streamlit application to display attendance records.haarcascade_frontalface_default.xml
: Haar Cascade classifier for face detection.data.pickle
: Pickle file containing face data and names.faces_data.py
to create or update the face data pickle file.take_attendance.py
to start the attendance system.streamlit run app.py
to view the attendance records in a web interface.Please note that this project requires a webcam to be connected to your system for face detection and attendance recording.
There are no models linked
There are no models linked
There are no datasets linked
There are no datasets linked