Scenario-Aware Classification of Permitted and Restricted Mobile Phone Use in Classroom Images: A Comparative Study
Smartphones are now ubiquitous in classrooms, where they can either support learning or distract from it depending on the context of use. It's therefore better for teachers to tell the difference between allowed and restricted use, rather than simply claiming to be able to detect the presence of a phone. This paper formulates classroom mobile-phone monitoring as a binary, scenario-level image-classification problem and compares three deep-learning paradigms: a lightweight custom convolutional neural network (CNN, 0.37 M parameters), an ImageNet-pretrained MobileNetV2 (2.26 M parameters), and the one-stage detector YOLOv8n (3.2 M parameters) trained with full-frame scenario labels. The manually labelled dataset consisted of 6,056 images (3,122 Mobile-Restriction and 2,934 Mobile-Not-Restriction) collected from the web, converted to JPEG, split 80:20 and augmented on the fly with geometric augmentations. The models are formally defined and evaluated according to class-wise precision, recall, and F1-scores, as well as class-balanced aggregates, the custom CNN (macro-F1 0.405) and MobileNetV2 (macro-F1 0.435) degraded towards the restricted class, with high recall of the restricted class but poor performance on permitted use. The reason why we believe YOLOv8n is advantageous is that it has a higher input resolution so higher macro-F1 score 0.95, multi-scale feature fusion, and COCO pre-training with a built-in cell phone category. The results are for scenario classification instead of phone localization, since the YOLOv8n labels cover the entire image. The paper ends with a discussion of deployment with privacy concerns and a roadmap to annotation at the box level and multi-site validation.
Authors
- Muhammad Abbas (ORCID: https://orcid.org/0000-0002-5988-2963)
- Aneela Shaheen
- Tayyaba Rasheed
- Aoun Haider
Institutions
- Islamia University of Bahawalpur (PK)
- Government College University, Faisalabad (PK)
- Federal Urdu University (PK)
Publication Details
- Journal
- International Journal of Emerging Engineering and Technology
- Published
- 2026-12-02
- DOI
- https://doi.org/10.57041/1xq57797
- Primary Topic
- Advanced Neural Network Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00