Drowsiness Detection System Using Computer Vision for Performance Characterization on a Raspberry Pi

Authors

  • Ricardo Yauri Rodriguez Universidad Tecnológica del Perú UTP - (PE), Perú
  • Rafael Espino Campos Universidad Tecnológica del Perú UTP - (PE), Perú
  • Antero Castro Nieto Universidad Tecnológica del Perú UTP - (PE), Perú

DOI:

https://doi.org/10.18687/LACCEI2026.1.1.645

Keywords:

Computer vision, Raspberry Pi, Drowsiness detection, Edge computing, EAR

Abstract

There is a need to monitor individuals performing critical tasks who are affected by drowsiness or fatigue using computer vision detection processes on embedded devices, but this presents a challenge due to the use of complex processing hardware. Previous research describes how embedded devices and microcontrollers perform drowsiness detection tasks using algorithms optimized for limited resources. Additionally, facial recognition methods, such as Haar Cascades or convolutional neural networks, are used to identify fatigue based on facial features. This research implements a computer vision-based drowsiness detection system that calculates facial metrics on a Raspberry Pi 4, using MediaPipe and OpenCV tools, integrating an ESP32 module for MQTT alerts, and a remote monitoring platform with Node-RED. The system recorded an average processing time per frame of 129.08 ms, with increases during drowsiness events (eye closure at 270 ms and yawning at 230 ms). Furthermore, the Raspberry Pi analysis showed an average CPU usage of 51%, indicating its stability despite variations in computational load. The results indicate that it is possible to detect drowsiness and yawning states, characterizing their computational performance, although it has limitations due to the camera resolution and processing time.

Downloads

Published

2026-07-27

License

Creative Commons License

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

LACCEI retains copyright of all published articles under the terms of its copyright transfer agreement. As the copyright holder, LACCEI distributes the articles to the public under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0).

How to Cite

Yauri Rodriguez, R., Espino Campos, R., & Castro Nieto, A. (2026). Drowsiness Detection System Using Computer Vision for Performance Characterization on a Raspberry Pi. LACCEI, 1(14). https://doi.org/10.18687/LACCEI2026.1.1.645