This project is a face recognition-based attendance system developed in Python using OpenCV and face_recognition libraries. It allows for automatic marking of attendance by recognizing faces of registered students captured through a webcam.
- Automatic detection and recognition of faces using webcam
- Marking attendance for recognized students
- Saving attendance records to a CSV file
- Simple and intuitive interface
- Clone the repository:
git clone https://github.com/yourusername/face-recognition-attendance-system.git
pip install -r requirements.txt
if the installation doesnt work properly then direct to dlib-master folder and go through the README.md or ReadMeFirst.docx
- Prepare the dataset:
- Add images of students' faces to the "photos" folder. Each image file should be named in the format: Name_RollNo_Email.jpg.
- Run the application:
python Attendance.py
- Modify the Recognition.py file to adjust parameters such as camera index, recognition threshold, etc., as needed.
- Ensure that the CSV file for storing attendance records is writable by the application.
The guide is for cmd/command prompt approach, the guide doesnt work for vscode or any other code editor approach.