Code Monkey home page Code Monkey logo

andrive's Introduction

Andrive

alt tag

Andrive is an application to measure the Time to Headway (THW) for driving evaluation. It was develop under the supervision of Michael Krause from the Institute of Ergonomics at the Technische Universität Müenchen (TUM).

This application is mainly implemented using the OpenCV library. The current version performs

  • Rear view vehicle detection.
  • Distance calculation using classification region size.
  • Speed calculation using GPS.
  • THW calculation.

Installation

Before installing the application, make sure to have following components:

To start, it is required to set the variables OPENCV_SDK_ROOT and OPENCVSDK. The first variable is used as a project property. Proceed to create a file called local.properties in the project directory and set the variable with the path to your installation of the OpenCV SDK directiry. For example:

OPENCV_SDK_ROOT=../../OpenCV-2.4.10-android-sdk/sdk

The second variable is a environment variable and in case of using Linux can be set trough a console as follows:

$ export OPENCVSDK=/path/to/OpenCV-2.4.10-android-sdk/sdk

After setting the two variable, the next step to build the native code using the ndk-build executable in the NDK installation.

$ /path/to/ndk-build

Then build the application using the ant command in the project directory

$ ant debug

Instead of debug, it can also be build as a release. Finally, install the application on your device with the adb command:

$ adb install -r ./bin/Andrive-debug.apk

NOTE: Any application using the OpenCV library requires you to install also on the device the Android OpenCV Manager.

andrive's People

Contributors

rosds avatar

Watchers

 avatar  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.