Annotated drowsiness detection dataset captured using Raspberry Pi 5

Drowsiness-related accidents represent a critical safety concern in transportation and workplace environments, necessitating real-time monitoring solutions deployable on affordable hardware. This paper introduces the Annotated Drowsiness Detection Dataset, which uniquely combines edge computing optimization with varied lighting conditions (0-615 lux), addressing a critical gap in real-world deployment scenarios. Our dataset comprises 33,750 annotated images collected from 32 participants across five distinct lighting conditions, capturing various states of alertness and drowsiness. Captured using a Raspberry Pi 5 equipped with Camera Module 3, the dataset encompasses facial feature analysis focusing on eye closure patterns and yawning behavior. The recordings were captured at 30 FPS with 640 × 480 resolution using H.264 compression across five lighting conditions (0, 28, 45, 86, and 615 lux) representing nighttime to daylight scenarios. The dataset was systematically collected using standardized protocols, ensuring compatibility with edge computing constraints while maintaining sufficient quality for computer vision applications. The dataset comprises 2092 labeled images divided into training and testing sets-Open Eyes (968/225), Closed Eyes (158/49), No Yawning (496/124), and Yawning (60/12)-alongside 53,480 labeled frames extracted from video recordings: mata_terbuka (30,922), mata_tertutup (4662), tidak_menguap (16,877), and menguap (1019). We provide baseline performance analysis using Edge Impulse's FOMO (Faster Objects, More Objects) algorithm, achieving 92.8 % accuracy for eye state detection and 89.5 % for yawning detection under optimal conditions, while maintaining 76.8 % accuracy under challenging low-light scenarios and real-time performance on resource-constrained devices. The natural class imbalance, with open eyes representing 85.4 % and yawning 5.2 % of samples, reflects realistic drowsiness occurrence patterns. The dataset includes comprehensive metadata, demographic information, and detailed annotation guidelines, making it suitable for training and evaluating lightweight machine learning models for automotive safety applications. This comprehensive dataset enables the development of robust drowsiness detection systems deployable on resource-constrained devices, particularly beneficial for emerging markets where cost-effective solutions are crucial. This contribution addresses the significant gap in publicly available drowsiness detection datasets optimized for edge computing platforms, particularly focusing on the practical challenges of varying illumination conditions in real-world driving scenarios. In essence, the Annotated Drowsiness Detection Dataset stands as a valuable resource for advancing real-time drowsiness detection technologies on edge computing platforms, supporting both static image classification and temporal sequence analysis approaches<i>.</i>

Authors

Institutions

Publication Details

Journal
Data in Brief
Published
2025-10-22
DOI
https://doi.org/10.1016/j.dib.2025.112211
Primary Topic
Sleep and Work-Related Fatigue
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Annotated drowsiness detection dataset captured using Raspberry Pi 5

Suryadiputra Liawatimena, Nugro Isworo
Data in Brief
Sleep and Work-Related Fatigue
article

Annotated drowsiness detection dataset captured using Raspberry Pi 5

Suryadiputra Liawatimena, Nugro Isworo
article en

Abstract

Drowsiness-related accidents represent a critical safety concern in transportation and workplace environments, necessitating real-time monitoring solutions deployable on affordable hardware. This paper introduces the Annotated Drowsiness Detection Dataset, which uniquely combines edge computing optimization with varied lighting conditions (0-615 lux), addressing a critical gap in real-world deployment scenarios. Our dataset comprises 33,750 annotated images collected from 32 participants across five distinct lighting conditions, capturing various states of alertness and drowsiness. Captured using a Raspberry Pi 5 equipped with Camera Module 3, the dataset encompasses facial feature analysis focusing on eye closure patterns and yawning behavior. The recordings were captured at 30 FPS with 640 × 480 resolution using H.264 compression across five lighting conditions (0, 28, 45, 86, and 615 lux) representing nighttime to daylight scenarios. The dataset was systematically collected using standardized protocols, ensuring compatibility with edge computing constraints while maintaining sufficient quality for computer vision applications. The dataset comprises 2092 labeled images divided into training and testing sets-Open Eyes (968/225), Closed Eyes (158/49), No Yawning (496/124), and Yawning (60/12)-alongside 53,480 labeled frames extracted from video recordings: mata_terbuka (30,922), mata_tertutup (4662), tidak_menguap (16,877), and menguap (1019). We provide baseline performance analysis using Edge Impulse's FOMO (Faster Objects, More Objects) algorithm, achieving 92.8 % accuracy for eye state detection and 89.5 % for yawning detection under optimal conditions, while maintaining 76.8 % accuracy under challenging low-light scenarios and real-time performance on resource-constrained devices. The natural class imbalance, with open eyes representing 85.4 % and yawning 5.2 % of samples, reflects realistic drowsiness occurrence patterns. The dataset includes comprehensive metadata, demographic information, and detailed annotation guidelines, making it suitable for training and evaluating lightweight machine learning models for automotive safety applications. This comprehensive dataset enables the development of robust drowsiness detection systems deployable on resource-constrained devices, particularly beneficial for emerging markets where cost-effective solutions are crucial. This contribution addresses the significant gap in publicly available drowsiness detection datasets optimized for edge computing platforms, particularly focusing on the practical challenges of varying illumination conditions in real-world driving scenarios. In essence, the Annotated Drowsiness Detection Dataset stands as a valuable resource for advancing real-time drowsiness detection technologies on edge computing platforms, supporting both static image classification and temporal sequence analysis approaches<i>.</i>

Data in BriefVol. 63
Binus University (ID)
Openalex Percentile: Top 69%
Sleep and Work-Related Fatigue
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.