How darshanmbangre2002/face-recognition-attendance-system works
AuraFace is a face-recognition attendance portal with an admin dashboard and REST API. Administrators manage employees and enroll face data; employees can be verified from camera images and checked in or out, while administrators review attendance and export reports. The backend combines JWT helpers, a configurable face engine, and SQLite/MySQL persistence. The README also documents lateness classifications, multi-angle enrollment, and optional email notifications. Some API and frontend behavior is only partially excerpted, so unverified subsystem links are omitted or marked dashed.
Main entry points: app.py REST API Routes · database.py Database Access · app.js Portal Interactions · face_engine.py Face Engine
Components 17
Portal
- Admin Dashboard
templates/dashboard.html - Portal Interactions
static/js/app.js
Application API
- REST API Routes
app.py - JWT Helpers
utils.py - Employee Records
app.py - Attendance Operations
app.py - Attendance Reports
app.py
Face Recognition
- Face Engine
face_engine.py - Face Enrollment
app.py - Face Verification
app.py
Persistence and Reports
- Database Access
database.py - SQLite / MySQL
- CSV / PDF Exporters
utils.py - Email Notifications
utils.py - Runtime Configuration
config.py
Other components
- Administrator
- Employee
Connections 22
- Administrator → Admin Dashboard: uses
README.md - Employee → Portal Interactions: presents face
README.md - Admin Dashboard → Portal Interactions: renders
static/js/app.js - Portal Interactions → REST API Routes: calls API
static/js/app.js - REST API Routes → JWT Helpers: validates tokens
app.py - REST API Routes → Employee Records: routes requests
app.py - REST API Routes → Face Enrollment: routes requests
app.py - REST API Routes → Face Verification: routes requests
README.md - REST API Routes → Attendance Operations: routes requests
app.py - REST API Routes → Attendance Reports: routes requests
app.py - Face Enrollment → Face Engine: extracts embeddings
README.md - Face Verification → Face Engine: matches faces
README.md - Employee Records → Database Access: queries records
app.py - Face Enrollment → Database Access: stores embeddings
README.md - Face Verification → Database Access: reads embeddings
README.md - Attendance Operations → Database Access: reads and writes
app.py - Attendance Reports → Database Access: queries attendance
app.py - Database Access → SQLite / MySQL: reads and writes
database.py - Database Access → Runtime Configuration: selects backend
database.py - Face Engine → Runtime Configuration: loads settings
face_engine.py - Attendance Reports → CSV / PDF Exporters: generates files
README.md - Attendance Operations → Email Notifications: notifies by email
README.md