WebSocket-Based Smart Surveillance Camera for Real-Time Detection of Occupational Health and Safety PPE Non-Compliance in Industrial Areas
Kamera Pengawasan Cerdas Berbasis WebSocket untuk Deteksi Real-Time Ketidakpatuhan Penggunaan APD Kesehatan dan Keselamatan Kerja di Kawasan Industri
DOI:
https://doi.org/10.21070/ups.10109Keywords:
ESP32, OV5640, Edge Impulse, IOT, PPE, WebserverAbstract
In the context of an industrial scenario, the problem of compliance with Occupational Health and Safety (OHS) standards regarding the use of Personal Protective Equipment (PPE) still persists. In this context, the present paper discusses the development of a WebSocket-enabled intelligent surveillance camera system for the real-time detection and mitigation of PPE violations. The proposed system architecture consists of an ESP32-S3 microcontroller with an OV5640 camera module, acting as an embedded platform. The Edge Impulse platform was used to develop image classification and detection models. The real-time streaming of camera frames using a WebSocket-enabled web server ensures the immediate display of the frames without wasting bandwidth. The experimental results prove the potential of the system to perform inference with high responsiveness, even with low resources, with satisfactory accuracy.
Downloads
References
A. Badri, B. Boudreau-trudel, and A. Saâdeddine, “Occupational health and safety in the industry 4 . 0 era : A cause for major concern ?,” Saf. Sci., vol. 109, no. August 2017, pp. 403–411, 2018, doi: 10.1016/j.ssci.2018.06.012.
S. Al-Azani, H. Luqman, M. Alfarraj, A. A. I. Sidig, A. H. Khan, and D. Al-Hamed, “Real-Time Monitoring of Personal Protective Equipment Compliance in Surveillance Cameras,” IEEE Access, vol. 12, no. September, pp. 121882–121895, 2024, doi: 10.1109/ACCESS.2024.3451117.
N. Mitrovi and M. Ðor, “Implementation of WebSockets in ESP32 based IoT Systems,” pp. 261–264, 2021.
V. Hyginus et al., Integrating IoT sensors and machine learning for sustainable precision agroecology : enhancing crop resilience and resource efficiency through data ‑ driven strategies , challenges , and future prospects. Springer International Publishing, 2025. doi: 10.1007/s44279-025-00247-y.
M. Cabanillas-carbonell, J. S. Rivera, and J. S. Muñoz, “Artificial intelligence in video surveillance systems for suspicious activity detection and incident response : A systematic literature review,” vol. 19, no. 3, pp. 389–405, 2025.
S. Sathya and M. S. Swetha, “Real-Time Chat Application with Web Socket for Network Efficiency,” 2025.
S. Automatisés, D. Priyasta, and R. Septiawan, “Enabling EV Roaming Through Cascading WebSockets in OCPP 1 . 6,” vol. 56, no. 3, pp. 437–449, 2023.
Y. S. Baraskar, P. Gawande, and P. V. Ambhore, “EXPLORING THE CAPABILITIES OF ESP32-S3 : AN ADVANCED IOT DEVELOPMENT BOARD FOR NEXT-GENERATION EDGE COMPUTING,” no. 11, pp. 5219–5227, 2025.
L. Zhang, W. Guo, and C. Lv, “Science in One Health Modern technologies and solutions to enhance surveillance and response systems for emerging zoonotic diseases,” Sci. One Heal., vol. 3, no. August 2023, p. 100061, 2024, doi: 10.1016/j.soh.2023.100061.
N. Abekiri, A. Rachdy, M. Ajaamoum, B. Nassiri, L. Elmahni, and Y. Oubail, “Platform for hands-on remote labs based on the ESP32 and,” Sci. African, vol. 19, p. e01502, 2023, doi: 10.1016/j.sciaf.2022.e01502.
J. C. Palomares-salas, J. Maria, J. C. Palomares-salas, J. Maria, P. Remigio-carmona, and J. Jos, “ScienceDirect n n Characterization Characterization and and Performance Performance Evaluation Evaluation of of ESP32 ESP32 for for Synchronized Sensor Networks Real-time Synchronized Sensor Networks,” vol. 00, no. 2022, 2024, doi: 10.1016/j.procs.2024.05.104.
J. Paul et al., “ScienceDirect Extraction of Measurement Device Information on an ESP32 Extraction of Measurement Device Information on an ESP32 Microcontroller : TinyML for Image Processing Microcontroller : TinyML for Image Processing,” 2024, doi: 10.1016/j.procs.2024.09.670.
M. Novak, P. Doležal, O. Budík, L. Ptáček, J. Geyer, and R. G. Blue, “Engineering Science and Technology , an International Journal Intelligent inspection probe for monitoring bark beetle activities using embedded IoT real-time object detection,” Eng. Sci. Technol. an Int. J., vol. 51, no. May 2023, p. 101637, 2024, doi: 10.1016/j.jestch.2024.101637.
D. Hercog, T. Lerher, and M. Truntiˇ, “Design and Implementation of ESP32-Based IoT Devices,” no. 1, 2023.
P. Dani, P. Adi, and Y. Wahyu, “Performance evaluation of ESP32 Camera Face Recognition for various projects,” vol. 02, pp. 10–21, 2022, doi: 10.31763/iota.v2i1.512.
S. M. Kulkarni, S. Umadi, R. M. Amogh, S. S. Airani, and M. M. Raikar, “ScienceDirect Grading and Classification of Tomatoes Using ESP32-CAM and Impulse Cloud based IoT Platform for Sustainability,” Procedia Comput. Sci., vol. 260, pp. 938–946, 2025, doi: 10.1016/j.procs.2025.03.277.
G. R. Pinaso, L. M. Figueiredo, O. R. Júnior, and M. Rogério, “s emina,” pp. 1–9, 2024, doi: 10.5433/1679-0375.2024.v45.49197.
I. O. P. C. Series and M. Science, “Weather prediction system and recommendation of plant varieties as an effort to minimize harvest failure with android-based Backpropagation Artificial Neural Networks Weather prediction system and recommendation of plant varieties as an effort to minimize harvest failure with android- based Backpropagation Artificial Neural Networks,” 2021, doi: 10.1088/1757-899X/1098/3/032027.
J. Chaoraingern, V. Tipsuwanporn, and A. Numsomran, “Artificial Intelligence for the Classification of Plastic Waste Utilizing TinyML on Low-Cost Embedded Systems,” vol. 13, no. 6, pp. 2328–2337, 2023.
N. Li, L. Cheng, C. Ji, S. Dongye, and M. Li, “An Improved Framework for Airport Detection under the Complex and Wide Background,” IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens., vol. 15, pp. 9545–9555, 2022, doi: 10.1109/JSTARS.2022.3217040.
M. Rina, A. Azullya, and L. Nurliyana, “Deep learning mango fruit recognition based on TensorFlow lite,” vol. 9, no. 3, pp. 565–576, 2023.
G. George, S. Adeshina, and M. M. Boukar, “INTELLIGENT SYSTEMS AND APPLICATIONS IN ENGINEERING Development of Android Application for Facial Age Group Classification Using TensorFlow Lite,” pp. 0–3, 2023.
K. Filus and J. Doma, “Computers & Security Software vulnerabilities in TensorFlow-based deep learning applications,” vol. 124, 2023, doi: 10.1016/j.cose.2022.102948.
N. Chieng and A. Sallang, “A CNN-Based Smart Waste Management System Using TensorFlow Lite and LoRa-GPS Shield in Internet of Things Environment,” vol. 9, 2021.
Y. Adhimanata, I. Sulistiyowati, A. Wisaksono, S. D. Ayuni, U. M. Sidoarjo, and J. Timur, “Overload Monitoring and Warning System for 3-Phase Electric Motorcycle based on IoT,” vol. 7, no. 1, pp. 30–41, 2025, doi: 10.12928/biste.v7i1.12262.
Downloads
Additional Files
Posted
License
Copyright (c) 2026 UMSIDA Preprints Server

This work is licensed under a Creative Commons Attribution 4.0 International License.
