Driver’s Buddy A MediaPipe-Based Eye/Mouth-Landmark Framework for Drowsiness Detection Integrated with a MobileNetV2 Emotion Classifier and Generative-AI Food Recommendation
Dr.K.V. UmaAssociate Professor, Department of Information Technology, Thiagarajar College of Engineering, Madurai, Tamil Nadu, India. kvuit@tce.edu0000-0002-7079-3101
T. IshwaryaDepartment of Information Technology, Thiagarajar College of Engineering, Madurai, Tamil Nadu, India. ishuthiru05@gmail.com0009-0003-9166-3319
T.S. Vinoth KumarDepartment of Information Technology, Thiagarajar College of Engineering, Madurai, Tamil Nadu, India. t.s.vinoth27@gmail.com0009-0001-4687-7524
S. Naveen KumarDepartment of Information Technology, Thiagarajar College of Engineering, Madurai, Tamil Nadu, India. naveenkumartceit@gmail.com0009-0008-7329-6232
Driver’s fatigue and emotion play an important role in ensuring road safety and intelligent monitoring of drivers to provide personalized assistance on time. In this paper, I propose a driver monitoring system called Driver’s Buddy, which includes drowsiness detection, face emotion recognition, and personalized recommendations based on the context through the integration of a single computer vision pipeline using only a webcam. In this work, the MediaPipe Face Mesh algorithm is used for facial landmark detection from which 468 facial landmarks are extracted for computation of EAR and MAR. EAR and MAR values are utilized to detect prolonged eye closing and yawning states associated with fatigue. On the other hand, emotion recognition is achieved by a MobileNetV2 neural network that has been fine-tuned using the FER2013 database for classification of 7 emotions like Angry, Disgust, Fear, Happy, Sad, Surprise, and Neutral. The detected emotional state is further used along with contextual information like location of driver and time of day for generation of personalized recommendations using generative artificial intelligence. The results of experimental studies have shown that emotion recognition reaches 81% training accuracy after 12 training stages. As well, EAR/MAR-driven module has proven its ability to detect closed eyes and yawning cases in real-time environments. The proposed model decreases the dependence on the physiological sensors since fatigue detection, affective processing, and assistance adaptation can be implemented through a vision-based framework. However, further testing on real-world driving data and drowsiness measurement should be conducted. Yet, the developed approach proves the potential of combining facial analysis and generative AI for intelligent driver assistance systems.