This project is developed for CSE 3200 (Software Development Project II) under the supervision of Mahit Kumar Paul, Assistant Professor, Department of Computer Science & Engineering, Rajshahi University of Engineering & Technology (RUET).
The Face Recognition Attendance Management System utilizes Python and OpenCV to automate attendance marking based on facial recognition. The system employs the Haarcascade Algorithm for face detection and the Local Binary Pattern Histogram (LBPH) for face recognition.
The main functionalities of the system are as follows:
- Student Registration: Student details (name, roll number, department) are collected and stored in a MySQL database.
- Image Capturing: Images for registered students are captured and saved in a local directory.
- Model Training: The model is trained using the captured images for accurate facial recognition.
- Attendance Marking: When a student’s face is recognized, their name, roll number, and department are displayed, and their attendance is recorded in a
.csvfile.
To run this system, ensure you have the necessary dependencies installed:
-
Clone the repository:
git clone https://github.com/AudityGhosh/Face_Recognition_Attendance_Management_System.git
-
Install the required Python packages:
pip install opencv-python numpy mysql-connector-python
-
Set up the MySQL database:
- Create a database to store student information.
- Ensure that your MySQL server is running.
- attendance.py: Handles the attendance logic, records attendance in a
.csvfile. - developer.py: Contains the backend logic for student data management.
- face_recognition.py: Implements the face recognition algorithm using LBPH.
- haarcascade_frontalface_default.xml: Haarcascade algorithm used for face detection.
- help.py: A helper script for supporting various system operations.
- main.py: The main driver script to start the system.
- student.py: Manages student information and registration.
-
Register Students:
- Run
developer.pyto add student details into the database. - Capture student images using
student.pyand store them in the local directory.
- Run
-
Run the Face Recognition:
- Execute
main.pyto launch the system and start recognizing faces. - When a student's face is detected, their information is displayed, and their attendance is recorded.
- Execute
-
Attendance Report:
- The attendance is recorded in a
.csvfile where each student’s attendance is updated with each recognition.
- The attendance is recorded in a
This project is licensed under the MIT License. See the LICENSE file for details.
- Instructor: Mahit Kumar Paul, Assistant Professor, RUET
- Libraries Used: OpenCV, MySQL, Numpy
- Face Detection Algorithm: Haarcascade
- Face Recognition Algorithm: Local Binary Pattern Histogram (LBPH)