How khotchaitanya/ai-powered-eye-sensor-attendance-system works
Smart Attendance is a desktop facial-recognition attendance application. Users launch the home screen, then choose enrollment or attendance: enrollment captures a webcam frame and sends it to the backend for face encoding and storage; attendance frames and landmarks go to the backend for identity matching, blink-based liveness verification, and attendance logging. The backend also exports attendance records to CSV. The principal call paths are visible in excerpts; other internal details are represented only where the README documents them.
Main entry points: main_gui.py Home screen · backend.py Verification workflow
Components 15
Desktop interface
- Home screen
main_gui.py - Enrollment window
main_gui.py - Attendance window
main_gui.py
Enrollment and identity
- Attendance system
backend.py - Face encoding
backend.py - User database
backend.py - Known-user loading
backend.py
Attendance verification
- Face matching
backend.py - Blink liveness
backend.py - Verification workflow
backend.py
Attendance records
- Attendance logging
backend.py - Attendance CSV
backend.py - CSV export
backend.py
Other components
- Operator
- Webcam
Connections 18
- Operator → Home screen: opens
README.md - Home screen → Attendance system: initializes
main_gui.py - Home screen → Enrollment window: opens
main_gui.py - Home screen → Attendance window: opens
main_gui.py - Webcam → Enrollment window: supplies frames
README.md - Enrollment window → Attendance system: submits frame
main_gui.py - Attendance system → Face encoding: encodes face
backend.py - Face encoding → User database: stores identity
backend.py - Attendance system → User database: loads users
backend.py - User database → Known-user loading: provides records
backend.py - Webcam → Attendance window: supplies frames
README.md - Attendance window → Verification workflow: submits frame and landmarks
main_gui.py - Verification workflow → Face matching: matches identity
backend.py - Face matching → Known-user loading: compares encodings
backend.py - Verification workflow → Blink liveness: checks blink
backend.py - Verification workflow → Attendance logging: logs verified user
backend.py - Attendance logging → Attendance CSV: appends record
backend.py - Attendance CSV → CSV export: supplies records
backend.py