Developing a driver drowsiness detection system using YOLO
Abstract
The drowsiness detection system plays a crucial role in driving safety, considering the high number of accidents caused by fatigue. However, many systems still face challenges in accuracy and response speed. This study implements the you only look once version 8 and version 9 (YOLOv8 and YOLOv9) methods, known for their superiority in speed and accuracy due to their ability to perform real-time object detection in a single processing stage. The dataset was collected from various sources in real driving environments with different lighting conditions and viewing angles. The data was then processed through labeling, preprocessing, and modeling stages. The model's performance was evaluated using metrics such as precision, recall, f1-score, mean average precision (mAP), and processing speed under various lighting conditions and driver perspectives. The evaluation results show that the YOLOv8 model has a better processing speed than YOLOv9 model, with the best-performing model being YOLOv8n, achieving a precision of 99.5%, recall of 99.5%, f1-score of 99.5%, mAP@0.5 of 99.5%, and mAP@0.5:0.9 of 85.1%, and has an image processing speed of 67.6 fps. This system is also equipped with a warning alarm to detect driver drowsiness, aiming to reduce fatigue-related accidents on the road.
Keywords
Driving safety; Drowsiness detection system; Real-time object detection; YOLOv8; YOLOv9
Full Text:
PDFDOI: http://doi.org/10.11591/ijeecs.v44.i2.pp406-415
Refbacks
- There are currently no refbacks.

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Indonesian Journal of Electrical Engineering and Computer Science (IJEECS)
p-ISSN: 2502-4752, e-ISSN: 2502-4760
This journal is published by the Institute of Advanced Engineering and Science (IAES).