Giter Club home page Giter Club logo

coral_edgetpu's Introduction

coral_edgetpu_video_inference

Classification Object Detection Pose Estimation

Prerequisites:

  1. A linux machine, I tested this build on x86_64
  2. Front Cam or USB Cam connected to your computer with drivers preinstalled
  3. Optional - EdgeTPU for NN acceleration

Dependencies:

Links attached for your reference

  1. OpenCV
  2. Upgrade GCC - Upgrade your gcc and g++ to the latest version. Don't worry they are always backward compatible.
$ sudo apt install libgtk2.0-dev
$ sudo apt search libgtk2.0-dev

Build:

  1. Clone the Repository
$ git clone https://github.com/Eashwar93/coral_edgetpu_video_inference.git
$ cd coral_edgetpu_video_inference/scripts
  1. Upgrade your cmake to the latest version and again don't worry they are backward compatible.
$ bash install_cmake.sh
  1. Build the repostitory
$ cd ..
$ mkdir build && cd build
$ cmake ..
$ make
$ cd ..

Usage:

  1. If you have a Coral USB Accelerator you can run any of the following scripts else skip to Step 2. The first script runs classification on a video stream,the second runs Object Detection and the third runs human pose estimation
$ bash scripts/classification/classify_edgetpu.sh
$ bash scripts/detection/detect_edgetpu.sh
$ bash scripts/pose_estimation/pose_edgetpu_480x640.sh
  1. The following scripts can be run on computers without any accelerators:
$ bash scripts/classification/classify_cpu.sh
$ bash scripts/detection/detect_cpu.sh
$ bash scripts/pose_estimation/pose_cpu_353x481.sh

Preview

I apprently made use of Coral USB Accelerator and below are the results for your reference. Click here to see the GIF Demos.

Credits

  1. google-coral/edgetpu
  2. Namburger/edgetpu-detection-camera

Further Work

  1. A medium article on how to use Google TPU's and why do we need them.
  2. ROS wrapper to take advantage of the the TPU for Robot Naviagtion.

coral_edgetpu's People

Contributors

eashwar93 avatar eljuguetero avatar otre99 avatar

Forkers

hpsaturn

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.