Classroom Attendance Auto-management Based on Deep Learning

Dan Wang, Rong Fu, Zuying Luo2017

Abstract

Attendance is an important part of daily classroom evaluation. This paper develops an automatic attendance system by integrating two deep learning algorithms: the Faster R-CNN face detection algorithm and the SeetaFace face recognition algorithm. The results of numerous experiments indicate that: (1) the system can record five violations of classroom attendance—absence, late arrival, early departure, free access, and carelessness—and generate an attendance table reflecting the learning situation of all students. (2) For small classrooms (length < 6m), 1080P monitoring video meets attendance needs; however, for larger classrooms (9m), 4K surveillance video is required.

Introduction

Traditional manual attendance methods are time-consuming and prone to errors such as "proxy attendance" or simple oversight. While computer vision offers a potential solution, existing systems often struggle with two major hurdles. First, most systems only track binary presence, failing to account for students who arrive late, leave early, or are physically present but mentally disengaged. Second, hardware constraints, specifically camera resolution, often limit the effectiveness of recognition in large lecture halls.

This research presents an automated classroom attendance system that moves beyond simple tracking. By combining Faster R-CNN for robust face detection with SeetaFace for recognition, the authors developed a system capable of identifying five distinct attendance behaviors, including a novel "carelessness" metric derived from the performance gap between the two algorithms.

Methodology

The proposed system follows a five-stage pipeline designed to balance computational efficiency with tracking accuracy.

System architecture for automated attendance
  1. HD Video Capture: Continuous high-definition recording of the classroom environment.
  2. Frame Extraction: Extracting one frame per minute to reduce data volume while maintaining temporal resolution for attendance events.
  3. Face Detection (Faster R-CNN): Utilizing Faster R-CNN to locate all faces within the frame. This model was trained on the Wider Face benchmark dataset to ensure robustness against various poses and lighting conditions.
  4. Face Recognition (SeetaFace): Identifying specific students at the detected coordinates using the SeetaFace engine.
  5. Attendance Analysis: Comparing recognition results against a fixed seating chart to generate comprehensive reports.

A key innovation in this methodology is the definition of carelessness. Faster R-CNN is highly robust and can detect a face even in irregular postures (e.g., head down). SeetaFace, being more sensitive to facial orientation, often fails to recognize a face that isn't looking toward the camera. By identifying instances where a face is detected but not recognized, the system flags the student as "careless," serving as a proxy for mental disengagement.

Results and Discussion

The system was evaluated using both public classroom videos and custom-captured footage in a controlled environment.

Face detection using Faster R-CNN (left) and face recognition using SeetaFace (right)

Nuanced Attendance Tracking

The system successfully categorized student behavior into five states: Absence, Late Arrival, Early Departure, Random Access (leaving and returning), and Carelessness. In a 10-minute test case, the system successfully identified specific periods of disengagement for individual students, providing a far more detailed "learning situation" report than manual logs.

Hardware Benchmarks

A significant finding of this study is the quantification of resolution requirements relative to classroom depth. The researchers found a clear "resolution bottleneck":

  • 720p: Only effective for feature extraction up to 4 meters.
  • 1080p: Sufficient for small classrooms up to 6 meters deep.
  • 4K (3840 × 2160): Mandatory for large classrooms (9-10 meters) to ensure students in the back rows are recognizable.

Conclusion

This deep learning-based system provides a more granular view of classroom attendance than traditional methods. By leveraging the performance gap between detection and recognition algorithms, it offers unique insights into student engagement. Future work will focus on addressing occlusion issues caused by students blocking each other and moving toward real-time processing to provide immediate feedback to instructors.

Summary updated

BibTeX
@misc{wang2017classroom,
  author = {Dan Wang and Rong Fu and Zuying Luo},
  title = {{Classroom Attendance Auto-management Based on Deep Learning}},
  year = {2017},
  doi = {10.2991/icesame-17.2017.327},
}
Figure