YOLOPyTorchOpenCV

DOZR

trying to keep drivers awake

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

DOZR project preview

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

  1. Real-time Detection

    Detects drowsiness using YOLOv5 via webcam.

  2. Alert System

    Triggers alerts to prevent accidents.

  3. Custom Training

    Fine-tune models with custom datasets.

  4. CPU/GPU Support

    Compatible with both CPU and GPU for inference.

Perfect For

(if this sounds like you)

  • 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

  1. planned Interactive Dashboard
  2. planned Mobile App Support
  3. planned Voice-based Alerts
  4. 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.