How rishabh-karmakar/facial-recognition-based-attendance-system works
This repository is a desktop facial-recognition attendance application. Its intended workflow is login, facial verification, student registration, camera-based recognition, and attendance recording; the README also documents a two-step admin check. The sampled login screen does not actually invoke the separate Auth.py flow, so that connection is not shown. Registration and attendance processing are separate camera workflows. The graph includes the shared detection, alignment, and feature-extraction layer; the attendance-view implementation is not present in the supplied tree.
Main entry points: Recog.py Attendance Capture · Auth.py Face Verification · Add_New.py Student Registration · screen.py Main Menu
Components 20
Access and UI
- Login Screen
main.py - Login Database
facedb.db - Face Verification
Auth.py - Success Screen
auth1.py - Main Menu
screen.py - Admin Name Map
names.txt - Admin Features
master.txt
Face Recognition
- MTCNN Detector
mtcnn_detect.py - Face Alignment
align_custom.py - Feature Extractor
face_feature.py - Model Graph
tf_graph.py - Face Model
architecture/inception_resnet_v1.py
Student Registry
- Student Registration
Add_New.py - Face Features
facerec_128D.txt - Class Roster
Class.xlsx - Student Names
names.txt
Attendance
- Attendance Capture
Recog.py - Attendance Workbook
Attendance.xlsx
Other components
- Operator
- Camera
Connections 31
- Operator → Login Screen: enters credentials
- Login Screen → Login Database: checks credentials
- Operator → Face Verification: starts verification
- Face Verification → Camera: captures frames
- Face Verification → MTCNN Detector: detects faces
- Face Verification → Face Alignment: aligns faces
- Face Verification → Feature Extractor: extracts features
- Face Verification → Admin Features: reads templates
- Face Verification → Admin Name Map: checks identity
- Face Verification → Success Screen: launches on match
- Success Screen → Main Menu: opens menu
- Operator → Main Menu: selects action
- Main Menu → Student Registration: launches registration
- Main Menu → Attendance Capture: launches attendance
- Student Registration → Camera: captures faces
- Student Registration → MTCNN Detector: detects faces
- Student Registration → Face Alignment: aligns faces
- Student Registration → Feature Extractor: extracts features
- Feature Extractor → Model Graph: uses graph
- Model Graph → Face Model: builds network
- Student Registration → Face Features: writes templates
- Student Registration → Class Roster: updates roster
- Student Registration → Student Names: updates names
- Attendance Capture → Camera: captures frames
- Attendance Capture → MTCNN Detector: detects faces
- Attendance Capture → Face Alignment: aligns faces
- Attendance Capture → Feature Extractor: extracts features
- Attendance Capture → Face Features: reads templates
- Attendance Capture → Student Names: reads names
- Attendance Capture → Class Roster: copies roster
- Attendance Capture → Attendance Workbook: marks attendance