Crowd Density Level Classification for Service Waiting Room Based on Head Detection to Enhance Visitor Experience

Atika Istiqomah, Fatih Seida, Nadhira Virliany Daradjat, Rahman Indra Kesuma, Nugraha Priya Utama

Abstract


The crowd within a confined space can potentially lead to air stagnation in waiting areas. Constantly running air conditioning throughout the day to balance air circulation may result in excessive energy consumption by the building. To address this issue, Heating, Ventilating, and Air-Conditioning (HVAC) systems are employed to manage and regulate indoor energy usage. However, sensor-based detection often fails to capture human variables promptly, resulting in less accurate density readings. Camera footage proves to be more reliable than sensors in accurately detecting crowds. This research utilizes You Only Look Once version 8 (YOLOv8), a robust algorithm for object detection, particularly effective in crowd detection for images, along with Convolutional Vision Transformer (CvT) for crowd density level classification into "Normal" and "Crowded" levels. CvT enhances classification accuracy by incorporating function from Convolutional Neural Network (CNN) in model training, including receptive field, shared weights, etc. By integrating YOLOv8 and CvT, this method focuses on accurately classifying crowd density levels after identifying human presence in the waiting area (indoor). Evaluation metrics include mean Average Precision (mAP) for YOLOv8, and accuracy, precision, recall, and f1-score for CvT. This approach directly influences the management of HVAC systems.

Keywords


Camera Footage; Crowd Detection; Density Classification; Energy Saving

Full Text:

PDF

References


H. Zou, Y. Zhou, J. Yang, and C. J. Spanos, "Device-free occupancy detection and crowd counting in smart buildings with WiFi-enabled IoT," Elsevier, 2018

K. Sun, Q. Zhao, Z. Zhang, and X. Hu, "Indoor occupancy measurement by the fusion of motion detection and static estimation," Elsevier, 2021

J. Chen, S. Wen, and Z. Wang, "Crowd counting with crowd attention convolutional neural network," arXiv:2204.07347v1, Apr. 2022

D. Reis, J. Kupec, J. Hong, dan A. Daoudi, "Real-Time Flying Object Detection with YOLOv8," Georgia Institute of Technology, 17 May 2023. [Online]. Available: arXiv:2305.09972v1

H. Wu, B. Xiao, N. Codella, M. Liu, X. Dai, L. Yuan, dan L. Zhang, "CvT: Introducing Convolutions to Vision Transformers," 29 March 2021. [Online]. Available: arXiv:2103.15808v1

H. Chen, G. Zhou, dan H. Jiang, "Student Behavior Detection in the Classroom Based on Improved YOLOv8," Sensors, 2023

T. Xiao, J. Zhu, “Introduction to Transformers: an NLP Perspective”, 29 November 2023. [Online]. Available: arXiv:2311.17633v1

Talaat, F. M., & Zain Eldin, H. (2023). "An improved fire detection approach based on YOLO-v8 for smart cities." Neural Computing and Applications

J. Redmon, S. Divvala, R. Girshick, and A. Farhadi, "You Only Look Once: Unified, Real-Time Object Detection," University of Washington, Allen Institute for AI, Facebook AI Research, 2016

L. Guo, K. Ross, Z. Zhao, G. Andriopoulos, S. Ling, Y. Xu, and Z. Dong, "Cross Entropy versus Label Smoothing: A Neural Collapse Perspective," New York University Shanghai, New York University Abu Dhabi, 2024, arXiv:2402.03979v2

C. Goutte and E. Gaussier, "A Probabilistic Interpretation of Precision, Recall and F-Score, with Implication for Evaluation," in Lecture Notes in Computer Science, Springer, April 2005, DOI: 10.1007/978-3-540-31865-1_25

L. Guan, "Weight Prediction Boosts the Convergence of AdamW," Department of Mathematics, National University of Defense Technology, August 2023, arXiv:2302.00195v2

McHugh ML. Interrater reliability: the kappa statistic. Biochem Med (Zagreb). 2012;22(3):276-82. PMID: 23092060; PMCID: PMC3900052

T. Zhou, L. Zheng, Y. Peng and R. Jiang, "A Survey of Research on Crowd Abnormal Behavior Detection Algorithm Based on YOLO Network," 2022 2nd International Conference on Consumer Electronics and Computer Engineering (ICCECE), Guangzhou, China, 2022, pp. 783-786, doi: 10.1109/ICCECE54139.2022.9712684. keywords: {Computer vision;Object detection;Machine learning;Real-time systems;Detection algorithms;Consumer electronics;abnormal crowd behavior;deep learning;YOLO network;target detection}

Firdaus, F. F., Nugroho, H. A., & Soesanti, I. (2021). Deep Neural Network with Hyperparameter Tuning for Detection of Heart Disease. The 2021 IEEE Asia Pacific Conference on Wireless and Mobile (APWiMob) (pp. 59-65). IEEE

Khow, Z. J., Tan, Y.-F., Karim, H. A., & Rashid, H. A. (2024). Improved YOLOv8 Model for a Comprehensive Approach to Object Detection and Distance Estimation. IEEE Research Article, 63754-63767

Li, H., Chaudhari, P., Yang, H., Lam, M., Ravichandran, A., Bhotika, R., & Soatto, S. (2020). RETHINKING THE HYPERPARAMETERS FOR FINE-TUNING. Conference Paper at ICLR. arXiv

Yang, L., & Shami, A. (2020). On hyperparameter optimization of machine learning algorithms: Theory and practice. Neurocomputing, 295-316

Sary, I. P., Armin, E. U., & Andromeda, S. (2023). Performance Comparison of YOLOv5 and YOLOv8 Architectures in Human Detection Using Aerial Images. Ultima Computing : Jurnal Sistem Komputer, 8-13

Quan, Y., Wu, Z., & Ji, H. (2021). Gaussian Kernel Mixture Network for Single Image Defocus Deblurring. 35th Conference on Neural Information Processing Systems (NeurIPS).

Dorai, S., Jayakumar, S., Suresh, A., Krishnan, A., Prasad, S., & Karthik, P. (2023). Proactive Headcount and Suspicious Activity Detection using YOLOv8. 3rd International Conference on Evolutionary Computing and Mobile Sustainable Networks (ICECMSN 2023) (pp. 61-69). Elsevier.

Cao, J., Xu, T., Deng, Y., Deng, L., Yang, M., Liu, Z., & Zhou, W. (2024). Galaxy morphology classification based on Convolutional vision Transformer (CvT). Astronomy & Astrophysics (A&A), 1-

A. P. Prakoso, W. Piseno, D. Bisono, D. B. Saefudin, A. Fudholi, and F. N. Rohman, “Comparative Study on NACA-9405, NACA-9503 and NACA-9506 Airfoil Profiled Blade Open-Channel Flow Cross-Flow Turbine,” Public Research Journal of Engineering, Data Technology and Computer Science, vol. 1, no. 1, pp. 10–19, Jul. 2023, doi: 10.57152/predatecs.v1i1.833.




DOI: http://dx.doi.org/10.24014/ijaidm.v7i2.29965

Refbacks

  • There are currently no refbacks.


Office and Secretariat:

Big Data Research Centre
Puzzle Research Data Technology (Predatech)
Laboratory Building 1st Floor of Faculty of Science and Technology
UIN Sultan Syarif Kasim Riau

Jl. HR. Soebrantas KM. 18.5 No. 155 Pekanbaru Riau – 28293
Website: http://predatech.uin-suska.ac.id/ijaidm
Email: ijaidm@uin-suska.ac.id
e-Journal: http://ejournal.uin-suska.ac.id/index.php/ijaidm
Phone: 085275359942

Click Here for Information


Journal Indexing:

Google Scholar | ROAD | PKP Index | BASE | ESJI | General Impact Factor | Garuda | Moraref | One Search | Cite Factor | Crossref | WorldCat | Neliti  | SINTA | Dimensions | ICI Index Copernicus 

IJAIDM Stats