DOZR

Real-time driver drowsiness detection system using YOLOv5 and OpenCV for road safety.

What is DOZR?

DOZR is a real-time drowsiness detection system designed to improve road safety by identifying drowsy drivers using YOLOv5 and OpenCV. It processes webcam input to detect signs of drowsiness and triggers alerts to prevent accidents.

Built with PyTorch, DOZR supports custom dataset training and is compatible with both CPU and GPU for efficient inference. With high precision and recall, it offers a reliable solution for drivers, fleet managers, and researchers aiming to enhance safety and study drowsiness patterns.

Key Features

πŸ•’

Real-time Detection

Detects drowsiness using YOLOv5 via webcam.

πŸ””

Alert System

Triggers alerts to prevent accidents.

🎯

Custom Training

Fine-tune models with custom datasets.

βš™οΈ

CPU/GPU Support

Compatible with both CPU and GPU for inference.

Perfect For

πŸš—

Road Safety

Enhance driver safety by detecting drowsiness.

πŸš›

Fleet Management

Monitor drivers in commercial vehicles.

πŸ“š

Driver Training

Use data to improve driver awareness.

πŸ”¬

Research

Study drowsiness patterns with custom datasets.

Technology & Architecture

DOZR leverages YOLOv5 for real-time object detection, integrated with PyTorch for deep learning and OpenCV for computer vision tasks. The system processes webcam or video input to detect drowsy states, using annotated datasets created with LabelImg.

The architecture supports custom training with user-provided datasets and runs efficiently on both CPU and GPU. With a modular design, DOZR is extensible for future features like dashboards and mobile alerts, making it a versatile tool for road safety applications.

What's Next

Planned

Interactive Dashboard

Planned

Mobile App Support

Planned

Voice-based Alerts

Planned

Emergency Call Triggers

Get Started

DOZR is a powerful tool for enhancing road safety through AI-driven drowsiness detection. Explore the project on GitHub to try it out, contribute, or integrate it into your safety solutions.

✦ rajin

Β© 2025 Rajin Khan (a.k.a Adib Ar Rahman Khan)

GitHub LinkedIn Instagram Facebook