Prosiding Seminar Nasional Ilmu Teknik
Vol. 2 No. 2 (2025): Desember: Prosiding Seminar Nasional Ilmu Teknik

Implementasi YOLOv8 untuk Deteksi Pekerja Tanpa Safety Helmet dan Penghitung Durasi Pelanggaran di Area Industri Berbasis Real-Time




Article Info

Publish Date
30 Dec 2025

Abstract

The use of protective equipment in the form of helmets is an important aspect of ensuring motorcycle rider safety. However, violations of helmet usage still frequently occur and are difficult to monitor continuously. This study proposes a real-time helmet detection system using the YOLOv8 object detection method. The YOLOv8n model was trained using a helmet and no-helmet image dataset that underwent data augmentation to improve the model’s robustness against variations in environmental conditions. The system was implemented using the Python programming language with the support of the Ultralytics and OpenCV libraries. The system input was obtained from a webcam with a resolution of 640×640 pixels, where each video frame was processed in real time to detect the Helmet and No Helmet classes. The system displays bounding boxes and class labels in real time and is equipped with a violation duration calculation mechanism. When a no-helmet condition is detected continuously, the system generates pop-up alerts and automatic notifications via the Telegram application. The experimental results show that the system is capable of detecting helmet usage and no-helmet violations in real time with stable performance. The integration of violation duration calculation helps reduce momentary detection errors and improves the reliability of identifying valid violations

Copyrights © 2025






Journal Info

Abbrev

PROSEMNASPROIT

Publisher

Subject

Civil Engineering, Building, Construction & Architecture Computer Science & IT Electrical & Electronics Engineering Engineering

Description

Prosiding Seminar Nasional Ilmu Teknik, Its a collection of papers or scientific articles that have been presented at the National Research Conference which is held regularly every two years by the Asosiasi Riset Ilmu Teknik Indonesia. The paper topics published in the Prosiding Seminar Nasional ...