CFP last date
20 October 2026
Reseach Article

Smart and Explainable Analysis of University Dress Code Compliance using Computer Vision: A Hybrid Approach Combining YOLOv8, EfficientNet-B0, and Grad-CAM

by Donatien Kadima Muamba, Bernice Mambula Zuiya, Jean-Jacques Kabasubabo Kalombo, Hénoc Kabengela Umira
International Journal of Computer Applications
Foundation of Computer Science (FCS), NY, USA
Volume 187 - Number 140
Year of Publication: 2026
Authors: Donatien Kadima Muamba, Bernice Mambula Zuiya, Jean-Jacques Kabasubabo Kalombo, Hénoc Kabengela Umira
10.5120/ijcae554156110f2

Donatien Kadima Muamba, Bernice Mambula Zuiya, Jean-Jacques Kabasubabo Kalombo, Hénoc Kabengela Umira . Smart and Explainable Analysis of University Dress Code Compliance using Computer Vision: A Hybrid Approach Combining YOLOv8, EfficientNet-B0, and Grad-CAM. International Journal of Computer Applications. 187, 140 ( Sep 2026), 64-73. DOI=10.5120/ijcae554156110f2

@article{ 10.5120/ijcae554156110f2,
author = { Donatien Kadima Muamba, Bernice Mambula Zuiya, Jean-Jacques Kabasubabo Kalombo, Hénoc Kabengela Umira },
title = { Smart and Explainable Analysis of University Dress Code Compliance using Computer Vision: A Hybrid Approach Combining YOLOv8, EfficientNet-B0, and Grad-CAM },
journal = { International Journal of Computer Applications },
issue_date = { Sep 2026 },
volume = { 187 },
number = { 140 },
month = { Sep },
year = { 2026 },
issn = { 0975-8887 },
pages = { 64-73 },
numpages = {9},
url = { https://ijcaonline.org/archives/volume187/number140/smart-and-explainable-analysis-of-university-dress-code-compliance-using-computer-vision-a-hybrid-approach-combining-yolov8-efficientnet-b0-and-grad-cam/ },
doi = { 10.5120/ijcae554156110f2 },
publisher = {Foundation of Computer Science (FCS), NY, USA},
address = {New York, USA}
}
%0 Journal Article
%1 2026-09-19T02:57:08.824888+05:30
%A Donatien Kadima Muamba
%A Bernice Mambula Zuiya
%A Jean-Jacques Kabasubabo Kalombo
%A Hénoc Kabengela Umira
%T Smart and Explainable Analysis of University Dress Code Compliance using Computer Vision: A Hybrid Approach Combining YOLOv8, EfficientNet-B0, and Grad-CAM
%J International Journal of Computer Applications
%@ 0975-8887
%V 187
%N 140
%P 64-73
%D 2026
%I Foundation of Computer Science (FCS), NY, USA
Abstract

The adherence to dress code regulations in universities and higher education institutions is an institutional concern that may require more effective, consistent and transparent monitoring approaches. In this paper, we describe the design and implementation of VestiAI, an explainable artificial intelligence system for automated university dress-code compliance assessment. The proposed hybrid architecture consists of three complementary components : YOLOv8 to detect and localize the clothing items in the images, EfficientNet-B0 to classify the attire in two categories (compliant and non-compliant), and Grad-CAM to explain the visual regions that contribute to the classification decisions. Compared to conventional methods that only offer a final classification result, the presented framework integrates automated assessment with visual explanations, thus improving the interpretability of the decision-making process. The dataset contains 1,337 images which are divided into train, validation and test sets. For clothing detection, YOLOv8 achieved an overall precision of 81.09%, recall of 83.97%, mAP@50 of 86.51%, and mAP@50-95 of 59.27%. For compliance classification, the accuracy, precision, sensitivity and F1-score of EfficientNet-B0 was 81.77%, 79.65%, 86.54% and 82.95% respectively on the 203-image test set. The class-wise detection results also showed the performance variations between the clothing categories, with the best performance on pants with a mAP@50 of 93.99% and the more challenging shoes and hats with the more strict mAP@50-95. Then a web application based on FastAPI was developed to provide a practical interface for image submission and for automatic assessment. The system generates a report detailing the detected garments, the estimated compliance status, and Grad-CAM visualizations that highlight the regions that influenced the classification decision. Results demonstrate the viability of integrating object detection, deep image classification, and explainable artificial intelligence for automatic university dress-code evaluation. The proposed framework aims to support decision making and human validation, not to replace human judgment.

References
  1. Redmon, J., Divvala, S., Girshick, R., Farhadi, A."You Only Look Once: Unified, Real-Time Object Detection." Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2016, pp. 779–788. DOI: 10.1109/CVPR.2016.91
  2. Redmon, J., Farhadi, A. "YOLO9000: Better, Faster, Stronger." Proceedings of CVPR, 2017, pp. 7263–7271. DOI: 10.1109/CVPR.2017.690
  3. Bochkovskiy, A., Wang, C. Y., Liao, H. Y. M. "YOLOv4: Optimal Speed and Accuracy of Object Detection." arXiv preprint arXiv:2004.10934, 2020.
  4. Jocher, G., Chaurasia, A., Qiu, J. "YOLO by Ultralytics." Ultralytics, 2023. Disponible via : https://github.com/ultralytics/ultralytics
  5. Tan, M., Le, Q. "EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks." Proceedings of ICML, 2019, pp. 6105–6114.
  6. Selvaraju, R. R., Cogswell, M., Das, A., Vedantam, R., Parikh, D., Batra, D. "Grad-CAM: Visual Explanations from Deep Networks via Gradient-Based Localization." International Journal of Computer Vision, 2020, 128, pp. 336–359. DOI: 10.1007/s11263-019-01228-7
  7. Ribeiro, M. T., Singh, S., Guestrin, C. "Why Should I Trust You? Explaining the Predictions of Any Classifier." Proceedings of ACM SIGKDD, 2016, pp. 1135–1144.
  8. Lundberg, S. M., Lee, S. I. "A Unified Approach to Interpreting Model Predictions." Advances in Neural Information Processing Systems (NeurIPS), 2017.
  9. Samek, W., Wiegand, T., Müller, K. R. "Explainable Artificial Intelligence: Understanding, Visualizing and Interpreting Deep Learning Models." IT Information Technology, 2017.
  10. Gunning, D., Aha, D. "DARPA’s Explainable Artificial Intelligence (XAI) Program." AI Magazine, 2019, 40(2), pp. 44–58.
  11. Arrieta, A. B., Díaz-Rodríguez, N., Del Ser, J., et al. "Explainable Artificial Intelligence (XAI): Concepts, Taxonomies, Opportunities and Challenges toward Responsible AI." Information Fusion, 2020, 58, pp. 82–115. DOI: 10.1016/j.inffus.2019.12.012
  12. Doshi-Velez, F., Kim, B. "Towards A Rigorous Science of Interpretable Machine Learning." arXiv:1702.08608, 2017.
  13. Chattopadhyay, A., Sarkar, A., Howlader, P., Balasubramanian, V. N. "Grad-CAM++: Generalized Gradient-Based Visual Explanations for Deep Convolutional Networks." IEEE Winter Conference on Applications of Computer Vision (WACV), 2018.
  14. Zhou, B., Khosla, A., Lapedriza, A., Oliva, A., Torralba, A. "Learning Deep Features for Discriminative Localization." CVPR, 2016.
  15. Tjoa, E., Guan, C. "A Survey on Explainable Artificial Intelligence (XAI): Toward Medical XAI." IEEE Transactions on Neural Networks and Learning Systems, 2021.
  16. Wang, C. Y., Bochkovskiy, A., Liao, H. Y. M. "YOLOv7: Trainable Bag-of-Freebies Sets New State-of-the-Art for Real-Time Object Detectors." CVPR, 2023.
  17. Wang, C. Y., Yeh, I. H., Liao, H. Y. M. "YOLOv9: Learning What You Want to Learn Using Programmable Gradient Information." arXiv:2402.13616, 2024.
  18. Wang, A., Chen, H., Liu, L., et al. "YOLOv10: Real-Time End-to-End Object Detection." arXiv:2405.14458, 2024.
  19. Carion, N., Massa, F., Synnaeve, G., Usunier, N., Kirillov, A., Zagoruyko, S. "End-to-End Object Detection with Transformers." ECCV, 2020.
  20. Zhu, X., Su, W., Lu, L., Li, B., Wang, J. "Deformable DETR: Deformable Transformers for End-to-End Object Detection." ICLR, 2021.
  21. Zhao, Y., Lv, W., Xu, S., et al. "DETRs Beat YOLOs on Real-Time Object Detection." CVPR, 2024.
  22. Dosovitskiy, A., Beyer, L., Kolesnikov, A., et al. "An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale." ICLR, 2021.
  23. Liu, Z., Luo, P., Qiu, S., Wang, X., Tang, X. "DeepFashion: Powering Robust Clothes Recognition and Retrieval with Rich Annotations." CVPR, 2016.
  24. Ge, Y., Zhang, R., Wang, X., Tang, X., Luo, P. "DeepFashion2: A Versatile Benchmark for Detection, Pose Estimation, Segmentation and Re-Identification of Clothing Images." CVPR, 2019.
  25. Han, X., Wu, Z., Jiang, Y. G., Davis, L. S. "Learning Fashion Compatibility with Bidirectional LSTMs." ACM Multimedia, 2017.
  26. Huang, J., Feris, R., Chen, Q., Yan, S. "Cross-Domain Image Retrieval with a Dual Attribute-Aware Ranking Network." ICCV, 2015.
  27. Liu, S., Feng, J., Song, Z., et al. "Hi, Magic Closet: Personalized Outfit Recommendation Using Deep Learning." ACM Multimedia, 2017.
  28. Chen, Q., Huang, J., Feris, R., Brown, L., Dong, J., Yan, S. "Deep Domain Adaptation for Describing People Based on Fine-Grained Clothing Attributes." CVPR, 2015.
  29. Yang, W., Luo, P., Lin, L. "Clothing Co-Parsing by Deep Convolutional Neural Networks." ICCV, 2014.
  30. Zheng, S., Song, Y., Leung, T., Goodfellow, I. "Improving the Robustness of Deep Learning for Clothing Recognition." IEEE Transactions on Image Processing, 2017.
  31. Sze, V., Chen, Y. H., Yang, T. J., Emer, J. "Efficient Processing of Deep Neural Networks: A Tutorial and Survey." Proceedings of the IEEE, 2017.
  32. Han, S., Mao, H., Dally, W. J. "Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Coding." ICLR, 2016.
  33. Deng, L., Yu, D. "Deep Learning: Methods and Applications." Foundations and Trends in Signal Processing, 2014.
  34. Goodfellow, I., Bengio, Y., Courville, A. "Deep Learning." MIT Press, 2016.
  35. Géron, A. "Hands-On Machine Learning with Scikit-Learn, Keras & TensorFlow." O’Reilly Media, 2022.
Index Terms

Computer Science
Information Sciences

Keywords

Artificial intelligence computer vision dress code compliance YOLOv8 EfficientNet-B0 Grad-CAM explainability Deep Learning academic environment.