EACO-YOLOv8: Enhanced Ant Colony Optimization for Facial-State Detection and Rule-based Driver-State Inference
DOI:
https://doi.org/10.21015/vtse.v14i4.2731Abstract
Drowsy driving is a significant road-safety concern that requires reliable methods for identifying visual indicators of driver fatigue. This study proposes an Enhanced Ant Colony Optimization (EACO)-based YOLOv8 framework for facial-part detection, integrated with an image-level rule-based driver-state inference module. The detection framework identifies four facial-part categories: open eye, closed eye, mouth open (yawn), and mouth closed (no yawn). To improve image quality and feature visibility, a preprocessing pipeline incorporating anisotropic diffusion filtering, gamma correction, Contrast Limited Adaptive Histogram Equalization (CLAHE), and min--max normalization is employed. EACO optimizes nine YOLOv8 hyperparameters using adaptive pheromone control, dynamic heuristic weighting, and elite-ant reinforcement. Experiments are conducted using an image-level dataset split of 70% for training, 15% for validation, and 15% for independent testing. On the held-out test set, the proposed EACO-YOLOv8 detector achieves 98.94% precision, 98.99% recall, a 98.97% F1-score, 98.85% mAP@0.5, and 96.42% mAP@0.5:0.95. Compared with baseline YOLOv8 and conventional Ant Colony Optimization (ACO)-based YOLOv8, the proposed approach achieves higher detection performance across the reported evaluation metrics. In addition, the rule-based inference module maps the detected facial conditions to three operational driver states---Awake, Drowsy, and Yawning---and achieves an image-level classification accuracy of 95.16% against manually labelled ground-truth states. These findings demonstrate the potential of combining metaheuristic hyperparameter optimization, facial-part detection, and interpretable rule-based inference for image-based driver monitoring. However, subject-independent evaluation was not possible because reliable subject identifiers were unavailable in the original dataset. Consequently, generalization to unseen drivers, cross-dataset validation, temporal analysis, and real-time deployment remain important directions for future investigation.
References
[1] S. Ayas, B. Donmez, and X. Tang, "Drowsiness mitigation through driver state monitoring systems: A scoping review," Human Factors, vol. 66, no. 9, pp. 2218–2243, 2024, doi: 10.1177/00187208231208523. DOI: https://doi.org/10.1177/00187208231208523
[2] A. Freitas, R. Almeida, H. Gonçalves, G. Conceição, and A. Freitas, "Monitoring fatigue and drowsiness in motor vehicle occupants using electrocardiogram and heart rate—A systematic review," Transportation Research Part F: Traffic Psychology and Behaviour, vol. 103, pp. 586–607, 2024, doi: 10.1016/j.trf.2024.05.008. DOI: https://doi.org/10.1016/j.trf.2024.05.008
[3] M. Papakostas, K. Das, M. Abouelenien, R. Mihalcea, and M. Burzo, "Distracted and drowsy driving modeling using deep physiological representations and multitask learning," Applied Sciences, vol. 11, no. 1, Art. no. 88, 2021, doi: 10.3390/app11010088. DOI: https://doi.org/10.3390/app11010088
[4] A. A. Saleem, H. U. R. Siddiqui, M. A. Raza, F. Rustam, S. Dudley, and I. Ashraf, "A systematic review of physiological signals based driver drowsiness detection systems," Cognitive Neurodynamics, vol. 17, no. 5, pp. 1229–1259, 2023, doi: 10.1007/s11571-022-09898-9. DOI: https://doi.org/10.1007/s11571-022-09898-9
[5] M. E. Shaik, "A systematic review on detection and prediction of driver drowsiness," Transportation Research Interdisciplinary Perspectives, vol. 21, Art. no. 100864, 2023, doi: 10.1016/j.trip.2023.100864. DOI: https://doi.org/10.1016/j.trip.2023.100864
[6] The Zebra, "Drowsy driving statistics," Jan. 2023. [Online]. Available: https://www.thezebra.com/resources/research/drowsy-driving-statistics/
[7] M. M. Ahsan, Y. Li, J. Zhang, M. T. Ahad, and M. M. S. Yazdan, "Face recognition in an unconstrained and real-time environment using novel BMC-LBPH methods incorporates with DJI vision sensor," Journal of Sensor and Actuator Networks, vol. 9, no. 4, Art. no. 54, 2020, doi: 10.3390/jsan9040054. DOI: https://doi.org/10.3390/jsan9040054
[8] A. Kolus, "A systematic review on driver drowsiness detection using eye activity measures," IEEE Access, vol. 12, pp. 97969–97993, 2024, doi: 10.1109/ACCESS.2024.3424654. DOI: https://doi.org/10.1109/ACCESS.2024.3424654
[9] Z. T. Liu, C. S. Jiang, S. H. Li, M. Wu, W. H. Cao, and M. Hao, "Eye state detection based on weight binarization convolution neural network and transfer learning," Applied Soft Computing, vol. 109, Art. no. 107565, 2021, doi: 10.1016/j.asoc.2021.107565. DOI: https://doi.org/10.1016/j.asoc.2021.107565
[10] Z. Liu, Y. Peng, and W. Hu, "Driver fatigue detection based on deeply-learned facial expression representation," Journal of Visual Communication and Image Representation, vol. 71, Art. no. 102723, 2020, doi: 10.1016/j.jvcir.2019.102723. DOI: https://doi.org/10.1016/j.jvcir.2019.102723
[11] M. S. Al-Quraishi, S. S. A. Ali, A. Q. Muhammad, T. B. Tang, and S. Elferik, "Technologies for detecting and monitoring drivers' states: A systematic review," Heliyon, vol. 10, no. 20, 2024, doi: 10.1016/j.heliyon.2024.e39592. DOI: https://doi.org/10.1016/j.heliyon.2024.e39592
[12] A.-C. Phan, T.-N. Trieu, and T.-C. Phan, "Driver drowsiness detection and smart alerting using deep learning and IoT," Internet of Things, vol. 22, Art. no. 100705, Jul. 2023, doi: 10.1016/j.iot.2023.100705. DOI: https://doi.org/10.1016/j.iot.2023.100705
[13] T. Faisal, I. Negassi, G. Goitom, M. Yassin, A. Bashir, and M. Awawdeh, "Systematic development of real-time driver drowsiness detection system using deep learning," IAES International Journal of Artificial Intelligence (IJ-AI), vol. 11, no. 1, pp. 148–160, Mar. 2022, doi: 10.11591/ijai.v11.i1.pp148-160. DOI: https://doi.org/10.11591/ijai.v11.i1.pp148-160
[14] R. Florez, F. Palomino-Quispe, R. J. Coaquira-Castillo, J. C. Herrera-Levano, T. Paixão, and A. B. Alvarez, "A CNN-based approach for driver drowsiness detection by real-time eye state identification," Applied Sciences, vol. 13, no. 13, Art. no. 7849, Jul. 2023, doi: 10.3390/app13137849. DOI: https://doi.org/10.3390/app13137849
[15] I. Jahan et al., "4D: A real-time driver drowsiness detector using deep learning," Electronics, vol. 12, no. 1, Art. no. 235, Jan. 2023, doi: 10.3390/electronics12010235. DOI: https://doi.org/10.3390/electronics12010235
[16] B. Akrout and S. Fakhfakh, "How to prevent drivers before their sleepiness using deep learning-based approach," Electronics, vol. 12, no. 4, Art. no. 965, Feb. 2023, doi: 10.3390/electronics12040965. DOI: https://doi.org/10.3390/electronics12040965
[17] V. Kumar, S. Sharma, and Ranjeet, "Driver drowsiness detection using modified deep learning architecture," Evolutionary Intelligence, vol. 16, no. 6, pp. 1907–1916, 2023, doi: 10.1007/s12065-022-00743-w. DOI: https://doi.org/10.1007/s12065-022-00743-w
[18] G. Singh, K. Guleria, and S. Sharma, "An efficient pre-trained ResNet50 model for driver drowsiness detection," in Proc. IEEE Int. Conf. Comput. Commun. Netw. Technol. (ICCCNT), 2024, pp. 1–6, doi: 10.1109/ICCCNT61001.2024.10725951. DOI: https://doi.org/10.1109/ICCCNT61001.2024.10725951
[19] M. I. B. Ahmed et al., "A deep-learning approach to driver drowsiness detection," Safety, vol. 9, no. 3, Art. no. 65, 2023, doi: 10.3390/safety9030065. DOI: https://doi.org/10.3390/safety9030065
[20] S. V. Dixith, S. Jadhav, Y.-S. Kim, and N. Jayakumar, "Deep learning-based drowsiness detection system for driver's safety," IEEE Access, 2025, doi: 10.1109/ACCESS.2025.3604728. DOI: https://doi.org/10.1109/ACCESS.2025.3604728
[21] Y. V. Bhatt, "State-of-the-art in driver's drowsiness detection: A comprehensive survey," Journal of Information Systems Engineering and Management, vol. 10, no. 36s, pp. 1024–1040, 2025, doi: 10.52783/jisem.v10i36s.6630. DOI: https://doi.org/10.52783/jisem.v10i36s.6630
[22] G. S. D. Reddy, "Driver drowsiness detection system using deep learning," International Journal for Science Technology and Engineering, vol. 11, no. 4, pp. 1390–1399, 2023, doi: 10.22214/ijraset.2023.50345. DOI: https://doi.org/10.22214/ijraset.2023.50345
[23] G. S. Dakshnakumar and J. Anitha, "Investigation on driver drowsiness detection using deep learning approaches," in Proc. Int. Conf. Circuit Power Comput. Technol. (ICCPCT), 2023, pp. 1650–1655, doi: 10.1109/ICCPCT58313.2023.10245868. DOI: https://doi.org/10.1109/ICCPCT58313.2023.10245868
[24] R. S. Vaidya, "Driving alertness system using deep learning," International Journal for Research in Applied Science and Engineering Technology, 2024, doi: 10.22214/ijraset.2024.58722. DOI: https://doi.org/10.22214/ijraset.2024.58722
[25] P. Nandal, S. Pahal, T. Sharma, and O. Omesh, "Real-time driver drowsiness detection using YOLOv8 with whale optimization algorithm," SAE International Journal of Transportation Safety, vol. 13, no. 1, pp. 15–33, 2025, doi: 10.4271/09-13-01-0001. DOI: https://doi.org/10.4271/09-13-01-0001
[26] G. Liu, K. Wu, W. Lan, and Y. Wu, "YOLO-FDCL: Improved YOLOv8 for driver fatigue detection in complex lighting conditions," Sensors, vol. 25, no. 15, Art. no. 4832, 2025, doi: 10.3390/s25154832. DOI: https://doi.org/10.3390/s25154832
[27] J. Zhang, F. Du, J. Wu, B. Huang, and C. Yang, "Lightweight and real-time improvement of YOLOv8n model for driving fatigue detection," Opto-Electronic Engineering, vol. 52, no. 10, Art. no. 250106, 2025, doi: 10.12086/oee.2025.250106. DOI: https://doi.org/10.1109/ICCEA65460.2025.11102988
[28] M. Bodaghi, M. Hosseini, R. Gottumukkala, R. T. Bhupatiraju, I. Ahmad, and M. Gabbouj, "UL-DD: A multimodal drowsiness dataset using video, biometric signals, and behavioral data," 2025, doi: 10.48550/arXiv.2507.13403.
[29] "Driver drowsiness dataset (DDD)," Kaggle. [Online]. Available: https://www.kaggle.com/datasets/ismailnasri20/driver-drowsiness-dataset-ddd
[30] N. Thakur, N. U. Khan, and S. D. Sharma, "A review on performance analysis of PDE-based anisotropic diffusion approaches for image enhancement," Informatica, vol. 45, no. 6, 2021, doi: 10.31449/inf.v45i6.3333. DOI: https://doi.org/10.31449/inf.v45i6.3333
[31] G. Mandal, P. De, and D. Bhattacharya, "A real-time fast defogging system to clear the vision of driver in foggy highway using minimum filter and gamma correction," Sādhanā, vol. 45, no. 1, Art. no. 40, 2020, doi: 10.1007/s12046-020-1282-y. DOI: https://doi.org/10.1007/s12046-020-1282-y
[32] F. Alzami, S. Winarno, M. Naufal, and H. Al Azies, "Enhancing driver drowsiness detection through GMM-optimized CLAHE," in Proc. Int. Seminar Appl. Technol. Inf. Commun. (iSemantic), 2024, pp. 212–217, doi: 10.1109/iSemantic63362.2024.10762529. DOI: https://doi.org/10.1109/iSemantic63362.2024.10762529
[33] S. Arif, S. Munawar, and H. Ali, "Driving drowsiness detection using spectral signatures of EEG-based neurophysiology," Frontiers in Physiology, vol. 14, Art. no. 1153268, 2023, doi: 10.3389/fphys.2023.1153268. DOI: https://doi.org/10.3389/fphys.2023.1153268
[34] Y. Jebraeily, Y. Sharafi, and M. Teshnehlab, "Driver drowsiness detection based on convolutional neural network architecture optimization using genetic algorithm," IEEE Access, vol. 12, pp. 45709–45726, 2024. [Online]. Available: https://ieeexplore.ieee.org/document/10479511 DOI: https://doi.org/10.1109/ACCESS.2024.3381999
[35] C. Zhou, Y. Zhao, S. Liu, Y. Zhao, X. Li, and C. Cheng, "Research on driver facial fatigue detection based on YOLOv8 model," in Proc. 5th Int. Conf. Inf. Sci. Parallel Distrib. Syst. (ISPDS), 2024, pp. 282–285, doi: 10.1109/ISPDS62779.2024.10667593. DOI: https://doi.org/10.1109/ISPDS62779.2024.10667593
[36] S. Zhao, Y. Peng, Y. Wang, G. Li, and M. Al-Mahbashi, "Lightweight YOLOM-Net for automatic identification and real-time detection of fatigue driving," Computers, Materials and Continua, vol. 82, no. 3, pp. 4995–5017, 2025, doi: 10.32604/cmc.2025.059972. DOI: https://doi.org/10.32604/cmc.2025.059972
[37] C. Chen, X. Liu, M. Zhou, Z. Li, Z. Du, and Y. Lin, "Lightweight and real-time driver fatigue detection based on MG-YOLOv8 with facial multi-feature fusion," Journal of Imaging, vol. 11, no. 11, Art. no. 385, 2025, doi: 10.3390/jimaging11110385. DOI: https://doi.org/10.3390/jimaging11110385
Downloads
Published
How to Cite
Issue
Section
License
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License (CC-By) that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).
This work is licensed under a Creative Commons Attribution License CC BY