Your new experience awaits. Try the new design now and help us make it even better

ORIGINAL RESEARCH article

Front. Future Transp.

Sec. Transport Safety

Volume 6 - 2025 | doi: 10.3389/ffutr.2025.1677442

This article is part of the Research TopicIntegrating Surrogate Data for Enhanced Traffic Safety in Urban and Suburban Road SystemsView all 4 articles

Development and Validation of a A Vision-Based Drowsiness Detection System for Railway ConducOperators Using Lightweight Convolutional Neural Networks

Provisionally accepted
Guisella  Stefany Lozano-ReyesGuisella Stefany Lozano-ReyesCarlos  Andrés Mugruza-VassalloCarlos Andrés Mugruza-Vassallo*
  • Universidad Nacional Tecnologica de Lima Sur, Villa el Salvador, Peru

The final, formatted version of the article will be published soon.

This research addresses the challenge of monitoring railway driver drowsiness using a real-time, vision-based system powered by convolutional neural networks, specifically the YOLOv8 architecture including attention mechanisms. The core idea is to keep the eye on subtle facial features like eyelid closure durations as indicators of fatigue. The model is designed to be lightweight for fast processing, which is critical for real-time applications. To build the model, a custom dataset of 6,991 frames was compiled. It also boosted the dataset's diversity using data augmentation, improving the model's robustness against real-world variability. And it paid off: the system hit an overall accuracy of 96.8%, precision of 97.28%, and recall of 97.46%, which is impressive, especially under different lighting conditions. The system works best in low sunlight. When strong solar glare kicks in, detection dips, showcasing the impact environmental factors can have on vision-based systems. In short, this study highlights how deep learning can realistically enhance railway safety by alerting operators before drowsiness leads to incidents. For future work, the plan was to toughen up the system to handle tough lighting better and explore combining vision with other sensor types (e.g. electroencephalography) for a fuller fatigue picture. Discussion about particular cognitive brain computer interface and health issues as anemia for further studies.

Keywords: attention mechanisms, Drowsiness detection, railway safety, Convolutional Neural Networks (CNN), You Only Look Once (YOLO)v8, Computer Vision, Fatigue Monitoring, real-time systems

Received: 31 Jul 2025; Accepted: 17 Oct 2025.

Copyright: © 2025 Lozano-Reyes and Mugruza-Vassallo. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

* Correspondence: Carlos Andrés Mugruza-Vassallo, cmugruza@yahoo.com

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.