Ainurrahman, Mochammad Firza; Ainurrahman, Mochammad Firza; Sutaji, Deni; Bhakti, Henny Dwi
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.