Skip to content

This project addresses the danger of distracted driving by developing a system that analyzes in-vehicle camera footage. Deep learning models, including self-trained Convolutional Neural Networks (CNNs) and pre-trained architectures like ResNet-50 and VGG-16, are used to identify drivers who are texting, using phones, reaching for objects or talking

Notifications You must be signed in to change notification settings

vishavsingla/Distracted-driver-detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Distracted Driver Detection

Overview

This project tackles the critical issue of distracted driving, a major safety hazard. Deep learning models are utilized to analyze in-vehicle dashboard camera footage and distinguish between safe driving and various forms of distraction.

Key Features

  • Deep learning models (CNNs and pre-trained architectures) analyze dashboard camera images.
  • Target distractions include texting, phone use, reaching for objects, and passenger conversation.
  • Regularization techniques (Early Stopping, Dropout, Normalization) prevent overfitting.
  • Project goal: Identify the most effective model for real-time driver distraction detection, ultimately enhancing road safety.

Data Description

The project leverages a subset of the State Farm Distracted Driver Detection Kaggle competition dataset. This dataset consists of:

  • Images:
    • 22,424 dashboard camera images categorized into 10 classes (c0-c9) representing driver behavior.
    • c0: Safe driving
    • c1-c4: Texting/Talking on phone (left/right hand)
    • c5: Operating radio
    • c6: Drinking
    • c7: Reaching behind
    • c8: Hair and makeup
    • c9: Talking to passenger

  • Image Preprocessing:
    • Original RGB images (480x640) resized to 120x160 for computational efficiency.
  • CSV File:
    • Provides image filename, subject ID, and corresponding class ID.

Project Objective

The primary goal is to develop a robust deep learning model that accurately classifies driver behavior in each image based on the 10 defined classes. This model has the potential to significantly improve road safety by preventing accidents and aiding insurance companies in addressing distracted driving.

About

This project addresses the danger of distracted driving by developing a system that analyzes in-vehicle camera footage. Deep learning models, including self-trained Convolutional Neural Networks (CNNs) and pre-trained architectures like ResNet-50 and VGG-16, are used to identify drivers who are texting, using phones, reaching for objects or talking

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published