Giter Site home page Giter Site logo

distracted-driver-detection-cnn's Introduction

Distracted-Driver-Detection-CNN

This repository contains work done as part of AI-2 course by Univ.ai.
Our team ConvHeads - Himanshu, Chaitanya, Aayush, Samyak

Project

Convolutional Neural Networks(CNNs) to detect whether the driver is attentive using in-car camera images.

Whether we are driving or in a passenger seat, we have seen drivers being distracted by a text on a phone, reaching behind for something, or having to attend a phone call.

According to U.S Department of Transportation, Every day about 8 people in the United States are killed in crashes that are reported to involve a distracted driver.

We think that having a system that alerts the driver if they are distracted, is the need of the hour. We intend to do this using Convolutional Neural Networks and classify the drivers actions into 10 classes- safe driving, texting - right,talking on the phone - right, texting - left, talking on the phone - left, operating the radio, drinking, reaching behind, hair and makeup, talking to passenger.

Data

The data was taken from the kaggle competition State Farm Distracted Driver Detection. The data set consisted of driver images, each taken in a car with a driver doing something in the car (texting, eating, talking on the phone, makeup, reaching behind, etc).

Methodology

click here to view jupyter notebook

Results

The model predictions on real world images collected by us can be seen below. predictions

click here for presentation

Demo

We created a demo app using steamlit.
Switch on audio to enjoy Blissfull music

ai2_streamlit_demo.mp4

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.