Coder Social home page Coder Social logo

harshit-1104 / drowsy-accident-preventer Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 135 KB

While drunk or drowsy people can’t react to stimuli efficiently in the environment, thus we intend to check for a verbal response from the driver upon detecting anomalous driving patterns. IMU tracker upon detecting frequent changes in acceleration and sharp turns triggers the voice assistant, checking up on the driver’s state and takes further action to ensure his/her safety.

License: MIT License

Python 1.44% JavaScript 7.75% Jupyter Notebook 90.82%
nlp alexa deepspeech2 driver-safety imu

drowsy-accident-preventer's Introduction

Honda-Hackathon

Table of Contents

Problem Statement

Reports say that 1 out of 4 accidents are caused due to drowsy driving. Drinking and driving is another major cause of road accident. High alcohol content induces drowsiness in human and thus this can be handled as an extreme case of drowsy driving. Due to the relevance of this problem, we believe it is important to develop a solution for drowsiness detection, especially in the early stages to prevent accidents.

Solution

When drowsy, people can’t react to stimuli in the environment. And thus, we test the response of driver as a measure of drowsiness. The voice assistant in the car asks for a verbal response at a frequency that’s neither too high as to disturb the driver nor too low to check if the driver is asleep. Alexa is triggered to ask questions depending upon the pattern of driving. The solution can be extended to even drivers with a little or no experience who otherwise create ruckus on street.

Pattern Recognition

The IMU data is constantly processed and if any of the following irregularities happens for a given number of times in a given period of time then the “Talk to me” by Alexa is activated.

  • Frequent major changes in acceleartion
  • Frequent sharp turns
  • Driving at high speed

Alexa Skill

The main branch works with Alexa. When triggered, Alexa will ask a question “Are you wake?”. If answered within 8 seconds it would imply that the driver is awake. If not then Alexa will ask the same question and wait for 9 seconds. If still not answered within 9 seconds an alarm is played to alarm is played t alert the driver.

Important Links

Solution with Alexa

Presentation

drowsy-accident-preventer's People

Contributors

harshit-1104 avatar old-school-kid avatar swaraj-jain avatar

Stargazers

 avatar  avatar

Watchers

 avatar

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.