Pixel : Jurnal Ilmiah Komputer Grafis
Vol. 19 No. 1 (2026): Pixel :Jurnal Ilmiah Komputer Grafis dan Ilmu Komputer

Integrasi Yolov8 Dan Opencv Untuk Sistem Verifikasi Kelengkapan Apd Pada State Machine

Mochammad Firza Ainurrahman (Universitas Muhammadiyah Gresik)
Deni Sutaji (Universitas Muhammadiyah Gresik)
Henny Dwi Bhakti (Universitas Muhammadiyah Gresik)



Article Info

Publish Date
07 Jul 2026

Abstract

This study proposes a computer vision-based system for automatically verifying the use of Personal Protective Equipment (PPE) in industrial environments. The system integrates the YOLOv8 object detection model, OpenCV for image processing, and a State Machine mechanism to manage the verification workflow. The verification process begins with employee identification through ID card scanning, followed by real-time detection of the head, safety helmet, and face mask using a camera, before generating a final PASS or FAIL decision. System evaluation was conducted using 250 testing scenarios to assess both model and system performance. The results show that the YOLOv8 model achieved an mAP@50 of 93.9%, while the overall verification system obtained 98.4% accuracy, 98.4% precision, 100% recall, and a 99.2% F1-score. The implementation of the State Machine contributed to a more stable and consistent verification process by ensuring that each inspection stage was executed in the correct sequence. These findings demonstrate that the proposed system can effectively support automated PPE compliance monitoring and has the potential to enhance occupational safety management in industrial workplaces. 

Copyrights © 2026