Computer Vision-Based PPE Compliance Detection in a Pharmaceutical Laboratory
Main Article Content
Abstract
The use of Personal Protective Equipment (PPE) is important for maintaining practitioner safety in pharmaceutical laboratories; however, manual inspection may lead to oversight. This study aims to develop a system capable of automatically detecting the use of masks, laboratory coats, and gloves and providing detection results. The system was developed using a computer vision approach with the YOLOv8s model implemented on the NVIDIA Jetson Orin NX and trained using five classes: mask, labcoat, glove, no_glove, and no_labcoat. The detection results were used to determine PPE completeness, provide notifications through an LCD and speaker, and record violations through the Firebase Realtime Database for subsequent display on a Progressive Web Application (PWA). Evaluation results show that the model achieved 89% accuracy and 96.5% mAP@0.5, while testing on 40 samples resulted in a 95% detection success rate. The system also operated continuously for 8 hours without lag or crashes, with an FPS of 14–16 and power consumption of 5.7–9.2 W. These results indicate that the developed system can perform real-time PPE detection and monitoring with stable performance and can support PPE compliance supervision in a pharmaceutical laboratory.
Article Details

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
References
[2] M. Arisandi, “Peran Pengetahuan dan Sikap terhadap Kepatuhan Penggunaan Alat Pelindung Diri pada Mahasiswa Farmasi: Studi Cross-Sectional,” Babul Ilmi J. Ilm. Multi Sci. Kesehatan, vol. 17, no. 2, 2025.
[3] A. R. Pratama, D. P. Kartikasari, and A. Setiawan, “Implementasi Deteksi Kelengkapan Alat Pelindung Diri (APD) di Area Berbahaya Menggunakan Metode YOLOv5,” J. Elektronika, Kendali dan Industri (ELKOLIND), vol. 10, no. 2, pp. 85–94, 2024.
[4] P. A. Khairunnisa, “Sistem Pengolahan Citra Digital Untuk Mendeteksi Ekspresi Wajah Secara Real-Time Menggunakan Deep Learning YOLOv5,” J. Ilm. Res. Student, vol. 2, no. 1, pp. 594–607, 2025.
[5] A. Diószegi et al., “Automated tablet defect detection and the prediction of disintegration time using machine vision,” Int. J. Pharmaceutics, vol. 645, art. 123420, 2024.
[6] M. S. Narlawar et al., “Precision measurement of tablet characteristics: A digital device approach,” SSRG Int. J. Electr. Electron. Eng., vol. 11, no. 7, pp. 283–291, 2024.
[7] A. Vijayakumar et al., “Real-time visual intelligence for defect detection in pharmaceutical packaging using deep learning,” Sci. Rep., vol. 14, art. 15832, 2024.
[8] G. Bradski, “The OpenCV Library,” Dr. Dobb’s Journal of Software Tools, vol. 25, no. 11, pp. 120–125, 2000.
[9] Fifine Microphone, “K420 2K Webcam User Manual & Specifications,” Fifine Technical Support, 2022.
[10] Badan Standardisasi Nasional, SNI 03-6575-2001: Tata Cara Perancangan Sistem Pencahayaan Buatan pada Bangunan Gedung. Jakarta, Indonesia: BSN, 2020.