How shoaibdar/attendance-system works
This is a small, single-script face-recognition attendance application. It loads known faces, reads webcam frames, recognizes matches, writes each person’s attendance once to a CSV, and displays and speaks a confirmation. The source refers to Pictures/ImagesAttendance, while the tree lists ImagesAttendance; the image-folder link therefore reflects the script’s stated input, not a verified matching directory. All runtime logic is in one file, so the nodes separate responsibilities rather than modules.
Main entry points: Attendance_Project.py Frame recognition · ImagesAttendance Known-face images · Attendance.csv Attendance CSV
Components 10
Other components
- User
- Webcam
- Known-face images
ImagesAttendance - Image loading
Attendance_Project.py - Known-face encoding
Attendance_Project.py - Frame recognition
Attendance_Project.py - Attendance writer
Attendance_Project.py - Attendance CSV
Attendance.csv - Video display
Attendance_Project.py - Voice confirmation
Attendance_Project.py
Connections 9
- Known-face images → Image loading: provides images
Attendance_Project.py - Image loading → Known-face encoding: encodes images
Attendance_Project.py - Webcam → Frame recognition: supplies frames
Attendance_Project.py - Known-face encoding → Frame recognition: provides encodings
Attendance_Project.py - Frame recognition → Attendance writer: calls on match
Attendance_Project.py - Attendance writer → Attendance CSV: reads and writes
Attendance_Project.py - Frame recognition → Video display: draws and displays
Attendance_Project.py - Frame recognition → Voice confirmation: speaks confirmation
Attendance_Project.py - User → Frame recognition: quits with key
Attendance_Project.py