Scenario-Aware Classification of Permitted and Restricted Mobile Phone Use in Classroom Images: A Comparative Study

Authors

  • Aneela Shaheen Department of Computer Science, The Islamia University of Bahawalpur, Bahawalpur, 63100, Pakistan Author
  • Aoun Haider Government College University, Faisalabad, Pakistan Author
  • Tayyaba Rasheed The Federal Urdu University of Arts, Science and Technology, Islamabad, Pakistan Author
  • Muhammad Shahzad Abbas Department of Computer Science, The Islamia University of Bahawalpur, Bahawalpur, 63100, Pakistan Author

DOI:

https://doi.org/10.57041/1xq57797

Keywords:

Mobile phone monitoring, scenario classification, convolutional neural network, MobileNetV2, YOLOv8, Transfer Learning

Abstract

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.

Author Biography

  • Aneela Shaheen, Department of Computer Science, The Islamia University of Bahawalpur, Bahawalpur, 63100, Pakistan

    I am Aneela Shaheen, an MS Computer Science graduate from The Islamia University of Bahawalpur, with a strong passion for Data Science, Artificial Intelligence, and emerging technologies.

    I am actively involved in AI-related freelance projects, where I explore and apply innovative technologies to develop practical, data-driven solutions. Alongside my work in the technology sector, I serve as a Science Teacher at a Government School, combining my academic background with my passion for teaching and knowledge sharing.

    My professional interests include Data Science, Machine Learning, Artificial Intelligence, and problem-solving through technology. I am committed to continuous learning, professional development, and leveraging my technical and academic expertise to contribute to meaningful projects and technological advancements.

Downloads

Published

2026-12-02

Issue

Section

Emerging Trends in Artificial Intelligence, Multidisciplinary Engineering, Health and Smart Technologies

How to Cite

Scenario-Aware Classification of Permitted and Restricted Mobile Phone Use in Classroom Images: A Comparative Study. (2026). International Journal of Emerging Engineering and Technology, 5(1-2), 89-98. https://doi.org/10.57041/1xq57797

Similar Articles

21-30 of 42

You may also start an advanced similarity search for this article.