Coder Social home page Coder Social logo

vophihungvn / aiml-dashcam-app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from globaledgesoft/aiml-dashcam-app

0.0 1.0 0.0 151.66 MB

The objective of this repository is to create an android application which would have the deep model trained and converted to the Qualcomm NPE format and thus deployed

License: GNU General Public License v3.0

Java 100.00%

aiml-dashcam-app's Introduction

DashCam

The project is designed to utilize the Qualcomm Neural Processing SDK, a deep learning software from Qualcomm Snapdragon Platforms for Object Detection in Android platform. The Android Application uses any built-in/connected camera to capture the objects on roads and use Machine Learning model to get the prediction/inference and location of the respective objects.

Pre-requisites

  • Before starting the Android application, please follow the instructions for setting up Neural Processing SDK using the link provided. https://developer.qualcomm.com/docs/snpe/setup.html.
  • Android device 6.0 and above which uses below mentioned Snapdragon processors/Snapdragon HDK with display can be used to test the application

List of Supported Snapdragon Devices

  • Qualcomm Snapdragon 855
  • Qualcomm Snapdragon 845
  • Qualcomm Snapdragon 835
  • Qualcomm Snapdragon 821
  • Qualcomm Snapdragon 820
  • Qualcomm Snapdragon 710
  • Qualcomm Snapdragon 660
  • Qualcomm Snapdragon 652
  • Qualcomm Snapdragon 636
  • Qualcomm Snapdragon 630
  • Qualcomm Snapdragon 625
  • Qualcomm Snapdragon 605
  • Qualcomm Snapdragon 450

The above list supports the application with CPU and GPU.For more information on the supported devices, please follow this link https://developer.qualcomm.com/docs/snpe/overview.html

Components

Below are the items used in the project.

  1. Mobile Display with QC Dash Cam app
  2. HDK Snapdragon board with GPU enabled
  3. USB type โ€“ C cable
  4. External camera setup
  5. Power Cable

Hardware Setup

Qualcomm Snapdragon HDK image

How does it work?

QC_DashCam application opens a camera preview, collects all the frames and converts them to bitmap. The network is built via Neural Network builder by passing caffe_mobilenet.dlc as the input. The bitmap is then given to the model for inference, which returns object prediction and localization of the respective object. The application is customized for detection of bicycle, motorbike, bus, car and person only.

Instructions to install the application on Board

Below are the items used in the project. (The appication can be built from the scratch or can use the apk in

Steps to Install and Run the Application

  • Firstly set up the hardware as shown above in the Hardware Setup section

  • Power on the Snapdragon HDK board

  • Connect the Dev-Board/Android phone via usb to the device

  • Switch on the display and choose the USB connection option to File Transfer

  • Check if ABD is installed in the windows/linux device, if not follow the below instructions in the below link to install https://developer.android.com/studio/command-line/adb.html.

  • Use the below command to install application apk in the connected device with help of abd. Download APK(Debug)

    $ adb install app-debug.apk

  • Search the GESL_DashCam in the app menu and launch the application

Screenshot of the application

aiml-dashcam-app's People

Contributors

akshaykulkarni09 avatar jinka2015 avatar pooja2303 avatar rakesh-sankar 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.