Smart Attendance System
AI-Powered Face Recognition for Automated Classroom Attendance
Smart Attendance System is an AI-powered classroom attendance management platform that automates student attendance using real-time face recognition and intelligent session management. The system integrates computer vision, automated attendance tracking, Google Sheets synchronization, and a centralized dashboard to simplify classroom attendance. It uses OpenCV YuNet for face detection and SFace for face recognition, with embeddings stored for enrolled students. The platform supports manual and timetable-driven automatic attendance sessions, configurable cutoff rules, duplicate check-in prevention, attendance analytics, CSV exports, audit logs, and automated monthly email reports. Built with Python, Flask, OpenCV, SQLite, and JavaScript, the project demonstrates the practical application of computer vision and automation to educational administration.
Technology stack
Problem
Traditional classroom attendance systems rely on manual roll calls or paper-based records, which consume valuable classroom time and can introduce errors, duplicate entries, and difficulties in maintaining attendance records. Managing attendance across multiple sessions also requires consistent cutoff enforcement, student record synchronization, absentee tracking, and reporting. The objective was to develop an automated attendance management system that uses face recognition to identify enrolled students, records attendance according to session rules, and provides administrators with reliable attendance data and reporting tools.
Approach
Developed an end-to-end attendance workflow combining computer vision, backend processing, database management, and a web-based dashboard. Implemented face enrollment with quality checks for brightness, blur, and face distance. Used OpenCV YuNet for face detection and SFace for generating 128-dimensional face embeddings. Recognition is performed using cosine similarity with a configurable matching threshold. Integrated Google Sheets synchronization for student master data and timetables. Implemented manual attendance sessions and timetable-driven AUTO mode with cutoff enforcement, duplicate check-in prevention, and automatic absentee finalization. Designed attendance analytics, student history, CSV exports, mandatory-reason corrections, audit logging, and automated email reporting. Added dashboard notifications, responsive layouts, voice interactions, and an attendance copilot interface.
Solution
Built a web-based Smart Attendance System featuring: - AI-based student face detection and recognition. - Browser-based student face enrollment. - Manual and timetable-driven automatic attendance sessions. - Attendance cutoff and late-arrival handling. - Duplicate attendance prevention and unknown-face detection. - Google Sheets integration for student and timetable synchronization. - SQLite-based attendance and student record management. - Real-time attendance dashboard and event notifications. - Student-wise and subject-wise attendance analytics. - CSV exports and attendance history. - Administrative corrections with mandatory reasons and audit logs. - Automated monthly attendance reports through Gmail SMTP. The system provides a centralized workflow for managing classroom attendance, reviewing records, and generating reports.