How usmanashfaq14/facial-recognition-attendance-system-using-ai-ml works
FaceMate is a Tkinter desktop application for managing students and recording attendance through facial recognition. A user logs in, enters the dashboard, and can manage student records, train a face classifier, or recognize a face and record attendance; attendance can also be browsed and maintained in a separate screen. The source excerpts support direct dashboard dispatch, MySQL access, classifier training, camera-based recognition, and CSV attendance recording. Other wiring is omitted where the excerpts do not establish it; the tree contains no README.
Main entry points: main.py Dashboard · face_recognition.py Face Recognition · FaceMate.py Login · train_data.py Classifier Training
Components 15
Access and Dashboard
- Login
FaceMate.py - Dashboard
main.py - Account Registration
FaceMate.py
Face Recognition
- Classifier Training
train_data.py - Training Images
- Trained Classifier
- Face Recognition
face_recognition.py
Student and Attendance Records
- Student Management
student.py - Attendance Management
attendance.py - Attendance CSV
attendance_report/attendance.csv
User Support
- HelpBot
chatbot.py - Developer Info
developer.py
Other components
- User
- Camera
- MySQL Database
Connections 20
- User → Login: signs in
- Login → MySQL Database: checks credentials
- Login → Dashboard: opens on success
- User → Account Registration: registers
- Account Registration → MySQL Database: creates account
- Dashboard → Student Management: opens
- Dashboard → Classifier Training: opens
- Dashboard → Face Recognition: opens
- Dashboard → Attendance Management: opens
- Dashboard → HelpBot: opens
- Dashboard → Developer Info: opens
- Student Management → MySQL Database: reads and writes
- Classifier Training → Training Images: reads
- Classifier Training → Trained Classifier: trains and saves
- Face Recognition → Camera: captures frames
- Face Recognition → Trained Classifier: loads model
- Face Recognition → MySQL Database: looks up student
- Face Recognition → Attendance CSV: records attendance
- Attendance Management → MySQL Database: reads and writes
- Attendance Management → Attendance CSV: imports and exports