Giter VIP home page Giter VIP logo

adas_using_openvino's Introduction

ADAS_using_OpenVino

Advanced Driver Assistance System (team-project) - developed for the Intel Edge AI Scholarshap @Udacity

Please click here or the image down below to watch the video

We created this visualization to demonstrate what our ADAS is able to see/recognize of the road-scene. example_output_vid

Motivation

Making roads a safer place and ADAS available to the majority of people, not only to those who can’t afford a new Car with special and expensive addons with Intel Hardware and Software plotform.OpenVino offers a great opportunity as we can bring AI based analysis to the edge (for example inside a smartphone sized device mounted in your car and connected the cars board computer). OpenVINO also helps in quick deployment and polymorphism of some code on multiple devices like intel GPU,CPU and accelerators like HDDL and FPGA.

Our Mission

  • making driving safer and more convenient
  • bridging time until cars get fully autonomous and are affordable for the majority of people
  • making ADAS accessible for everyone in form of an Edge Device that can be plugged in to the board computer of your current car with no need to purchase a completely new car (most of the cars built after 2009 support that)

Current Features

  • Car detection
  • Tracking speed visually
  • tracking distance to car in front of us
  • based on speed and distance -> calculating if minimum breaking distance is kept
  • Detection of blue direction signs on german highways (to be replaced by a model-based sign detection in the near future)
  • Weather detection (self-trained and converted to IR)(will be used to increase the minimum breaking distance in case it is raining)(Follow for detailed explanation)
  • displaying lane-lines
  • Emotion Detection of the driver (Follow for detailed explanation)

Features we are currenlty working on

  • road sign detection, to also include for example warnings for Stop-signs
  • improvement of car-detection
  • To improve accuracy of drowsiness detection model and FPS on MYRIAD.
  • Itegrate it with AWS/AZURE-ML deployment

Planned Features

  • tracking of pedestrians, bikes etc. to the make the application more secure for urban usage
  • traffic-light detection to automatically break/accelerate
  • model-based lane-detection (in the future used to keep the lane)
  • constantly improve on accuracy and execution time
  • visualized roadsigns with text-detection
  • Identify the sleep state of Driver and Integrate it with Azure/AWS ML deployments.

Execution Instructions

(Note: The project uses a 2019 version of OpenVino, which still has to include a CPU_EXTENSION directory to run, it is set by default for macOS, for other OS's it needs to be passed in the with input argument -c)

For macOS

  • clone or download the repository
  • if you have OpenVino installed with root permision, in your terminal run sudo -i
  • Source the OpenVino environment by executing following on your terminal: source /opt/intel/openvino/bin/setupvars.sh
  • In your terminal change the directory to the repository folder Self-developed-ADAS that contains main.py
  • run it better executing python3 main.py

For Windows

  • clone or download the repository
  • OpenVINO Installation document for windows https://docs.openvinotoolkit.org/latest/_docs_install_guides_installing_openvino_windows.html
  • A window opens to let you choose your installation directory and components. The default installation directory is C:\Program Files (x86)\IntelSWTools\openvino_, for simplicity, a shortcut to the latest installation is also created: "C:\Program Files (x86)\IntelSWTools\openvino"
  • Source the OpenVino environment by executing following on your terminal: cd C:\Program Files (x86)\IntelSWTools\openvino\bin\ and setupvars.bat
  • In your terminal change the directory to the repository folder Self-developed-ADAS that contains main.py
  • run it better executing python3 main.py

Optional command line parameters

  • -ct for the confidence threshold to use with the cars that get recognised
  • -d the device name, if not 'CPU' (Extension files might have to be added to the code if changed)
  • -i the location of the input file (not recommended as the area for detecting the lines is cropped specifically the input video we chose (as the position of a camera usually won't change inside a car))

Acknowledgments/Licenses

adas_using_openvino's People

Contributors

aarthialagammai avatar aravind309 avatar gundaarx avatar hartp97 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.