This project facilitates live student attendance using face recognition technology.
- Real-time face recognition with visual student identification via drawn rectangles.
- Graphical User Interface (GUI).
- Automatic creation of daily Excel files for attendance records.
-
Clone the repository:
git clone https://github.com/tharushaudana/python-student-attendance-by-face-recognition.git
-
Install dependencies from
requirements.txt
:pip install -r requirements.txt
-
Clone the Repository
-
Configure Parameters in
config.py
Modify the following parameters in
config.py
if needed:video_device_index = 0 images_path = 'assets/student_images/' student_data_path = 'assets/student_data.xlsx' attendsheets_dir_path = 'Attend Sheets/'
-
Create
student_data.xlsx
Create
student_data.xlsx
inassets/student_data.xlsx
with student information. Refer to for the required format. -
Store Student Images
Store student images in
assets/student_images/
, ensuring filenames correspond to student IDs instudent_data.xlsx
. See for an example. -
Attendance Sheets
Attendance sheets are automatically generated daily in
Attend Sheets/
. View for an example and for a sample attendance sheet. -
Sample Video
We hope this project proves valuable to you!