Skip to content
Smart Alarm Camera System for Driver Drowsiness Detection and Prevention — Embedded Systems & IoT project by YenkoDev

Smart Alarm Camera System for Driver Drowsiness Detection and Prevention

Software as a Service

No

Category

Embedded Systems & IoT

Clients

Confidential

Techstack

Raspberry PiPythonMediaPipeOpenCVPicamera2Pygame

Purpose

Drowsy driving causes crashes that a timely warning could prevent. This in-vehicle device watches the driver's eyes and mouth for signs of fatigue and intervenes with escalating audio and physical alerts before microsleep sets in.

Description

A Raspberry Pi camera streams the driver's face into MediaPipe Face Mesh, where eye aspect ratio and mouth landmarks detect extended eye closure, frequent blinking, yawning, and a face leaving the frame. Each condition triggers a matching spoken alert through onboard speakers and pulses a GPIO-driven vibration motor to rouse the driver. The system launches headless on startup and exposes tunable thresholds for blink duration, blink frequency, and yawn detection.