iExam: A Novel Online Exam Monitoring and Analysis System Based on Face Detection and Recognition

Xu Yang, Daoyuan Wu, Xiao Yi, Jimmy H. M. Lee, Tan Lee · OpenReview

Abstract

Online exams via video conference software like Zoom have been adopted in many schools due to COVID-19. While it is convenient, it is challenging for teachers to supervise online exams from simultaneously displayed student Zoom windows. In this paper, we propose iExam, an intelligent online exam monitoring and analysis system that can not only use face detection to assist invigilators in real-time student identification, but also be able to detect common abnormal behaviors (including face disappearing, rotating faces, and replacing with a different person during the exams) via a face recognition-based post-exam video analysis. To build such a novel system in its first kind, we overcome three challenges. First, we discover a lightweight approach to capturing exam video streams and analyzing them in real time. Second, we utilize the left-corner names that are displayed on each student's Zoom window and propose an improved OCR (optical character recognition) technique to automatically gather the ground truth for the student faces with dynamic positions. Third, we perform several experimental comparisons and optimizations to efficiently shorten the training and testing time required on teachers' PC. Our evaluation shows that iExam achieves high accuracy, 90.4% for real-time face detection and 98.4% for post-exam face recognition, while maintaining acceptable runtime performance.

Introduction

The rapid shift to remote education has introduced significant challenges for academic integrity. Monitoring dozens of students simultaneously in a Zoom "gallery view" is exhausting for human invigilators and prone to oversight. While automated proctoring solutions exist, they often rely on intrusive, cloud-based processing that compromises student privacy and requires significant bandwidth.

iExam addresses these issues by introducing a two-phase monitoring system. It balances the need for immediate, privacy-preserving feedback with the requirement for high-accuracy identity verification through a decoupled architecture.

System Architecture

The iExam system is divided into two distinct operational phases: real-time proctoring and post-exam analysis.

iExam System Architecture: Real-time proctoring (left) and Post-exam analysis (right).
  1. Real-time Proctoring: This phase runs locally in the instructor's browser. Using Web APIs like getDisplayMedia and OpenCV.js, the system captures the Zoom window and performs lightweight face detection. Because processing happens at the "edge," no video data is transmitted to external servers, preserving student privacy. It provides immediate feedback on basic anomalies, such as a student leaving their seat.
  2. Post-exam Analysis (Offline): This phase handles more complex integrity checks. It uses a Deep Convolutional Neural Network (DCNN) to verify identities and detect if a student has been replaced by another person. By moving these heavy computations to an offline stage, the system ensures that the live exam session remains smooth and lag-free.

Automated Data Labeling via OCR

A major hurdle in face recognition is the "cold start" problem: obtaining labeled training data for every student. iExam innovatively solves this by leveraging the Zoom interface itself. Zoom typically displays student names in the bottom-left corner of each video cell.

The system employs an improved Optical Character Recognition (OCR) technique with adaptive thresholding to extract these names. By correlating detected faces with these OCR-extracted labels, iExam automatically constructs a labeled dataset for the DCNN without requiring manual intervention from teachers or students.

Performance and Results

The system was evaluated on real-world Zoom exam datasets. The real-time detection component achieved 90.4% accuracy, while the post-exam recognition model (ResNet50) reached a peak accuracy of 98.41%.

Comparison of different face detection algorithms in terms of time cost and detection count.

As shown in Figure 2, the optimized DCNN-based detector used in iExam provides a superior balance of speed and detection frequency compared to traditional methods like Haar-cascades or Dlib. While traditional methods are often considered "fast," the DCNN implementation in iExam demonstrates significant efficiency gains, making it practical for execution on standard consumer hardware, such as a teacher's laptop.

Conclusion

iExam demonstrates that effective online proctoring does not have to come at the cost of privacy or system performance. By decoupling real-time monitoring from deep identity verification and automating the labeling process through OCR, iExam provides a scalable and user-friendly tool for educators. Future work will focus on expanding the system's behavioral analysis capabilities to detect unauthorized materials and adapting the OCR pipeline for other video conferencing platforms.

Summary updated

BibTeX
@misc{yang2022iexam,
  author = {Xu Yang and Daoyuan Wu and Xiao Yi and Jimmy H. M. Lee and Tan Lee},
  title = {{iExam: A Novel Online Exam Monitoring and Analysis System Based on Face Detection and Recognition}},
  year = {2022},
  eprint = {2206.13356},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2206.13356},
}
Figure