Drowsiness detection using Raspberry Pi for EVs and smart cars

Main Article Content

Wichian Ooppakaew
Jakkrit Onshaunjit
Jakkree Srinonchat


Drowsiness detection is highly significant in assuring the safety and effectiveness of intelligent automobiles and electric vehicles (EVs). It used to be that managing driver fatigue was only a question of comfort for contemporary transportation systems. However, with the rapid improvements that have been made in automotive technology and the growing prevalence of autonomous features, this need has developed into a fundamental requirement. Sleepiness detection systems perform the role of watchful co-pilots by continually monitoring the driver's behavior and sounding alerts or taking other appropriate actions when indicators of tiredness are identified. They are an effective strategy to limit the dangerous practice of sleepy driving, which is responsible for many motor vehicle accidents. These accidents are caused by a combination of factors, including fatigue, distraction, and inattention. In the current investigation, a Raspberry Pi is a real-time monitoring system to determine drowsiness. The dataset had one thousand unique images, each depicting a different feature of a real-world driving event. These images have been organized into the following four categories: open eyes (250 images), closed eyes (250 images), open mouth (250 images), and closed mouth (250 images). During this investigation, the experimental circumstances were looked at during daylight and the evening hours. For the system to function correctly, it relies on the Eye Aspect Ratio (EAR) algorithm and the facial landmarks method. The recommended strategy showed a higher degree of accuracy when put into practice. However, the study found that false negative blinks were noticed due to noise that could not be repaired within the collected signal. In the future, we want to concentrate our research efforts on determining whether or not the recommended technique is effective in a broader variety of contexts.

Article Details

How to Cite
Ooppakaew W, Onshaunjit J, Srinonchat J. Drowsiness detection using Raspberry Pi for EVs and smart cars. J Appl Res Sci Tech [Internet]. 2024 May 6 [cited 2024 Jun. 25];22(1). Available from: https://ph01.tci-thaijo.org/index.php/rmutt-journal/article/view/254725
Research Articles


Deng W, Wu R. Real-time driver-drowsiness detection system using facial features. IEEE Access. 2019;7:118727-38.

Hussein MK, Salman TM, Miry AH, Subhi MA. Driver drowsiness detection techniques: A survey. In: 2021 1st Babylon IEEE International Conference on Information Technology and Science (BICITS). 2021 Apr 28; Babil, Iraq. IEEE; 2021. p. 45-51.

Albadawi Y, Takruri M, Awad M. A review of recent developments in driver drowsiness detection systems. Sensors. 2022;22(5):2069.

Singh J. Learning-based Driver Drowsiness Detection Model. In: 2020 3rd International Conference on Intelligent Sustainable Systems (ICISS). 2020 Dec 3-5; Thoothukudi, India. 2021. p. 698-701.

Mehta S, Dadhich S, Gumber S, Jadhav Bhatt A. Real-time driver drowsiness detection system using eye aspect ratio and eye closure ratio. Proceedings of International Conference on Sustainable Computing in Science, Technology and Management (SUSCOM); 2019 Feb 26; Jaipur, India. 2019. p. 1333-9.

Laxmi V, Rao PS. Eye detection using Gabor Filter and SVM. 2012 International Conference on Intelligent Systems Design and Applications (ISDA); Kochi, Japan. 2012. p. 880-3.

Vijayalaxmi S. Knowledge based template for Eye detection. In: National Conference on Microwave Antenna & Signal Processing. 2011 April; 2011. p. 90.

Soukupova T. Eye blink detection using facial landmarks [dissertation]. Czech Republic: Czech Technical University; 2016.

Dewi C, Chen RC, Jiang X, Yu H. Adjusting eye aspect ratio for strong eye blink detection based on facial landmarks. Peer J Computer Science. 2022;8:e943.

Miranda M, Alonica V, Jomar Buo M, Merabite R, Paulo PS, Rodriguez JM. Portable prevention and monitoring of driver's drowsiness focuses to eyelid movement using Internet of Things. In: 2018 IEEE 10th International Conference on Humanoid, Nanotechnology, Information Technology, Communication and Control, Environment and Management (HNICEM). 2018 Nov 29-Dec 2; Baguio City, Philippines. IEEE; 2019. p. 1-5.

Ashlin Deepa RN, Sai Rakesh Reddy D, Milind K, Vijayalata Y, Rahul K. Drowsiness Detection Using IoT and Facial Expression. Proceedings of the International Conference on Cognitive and Intelligent Computing: 2021; Singapore: Springer Nature Singapore; 2023.

Jung G, Bok S, Lee Y, Kwak M, Kim H, Kim J, et al. Drowsy Driving Prevention IoT System: Waking Up the Driver Through Responsiveness Check. IEEE 13th International Conference on Information and Communication Technology Convergence (ICTC); 2022.