GithubHelp home page GithubHelp logo

lemariva / raspbian-edgetpu Goto Github PK

View Code? Open in Web Editor NEW
33.0 7.0 14.0 1.7 MB

Docker with Raspbian, SSH and the Coral USB Edge TPU libraries.

License: Apache License 2.0

Dockerfile 85.95% Python 14.05%
docker dockerfile edgetpu coral google

raspbian-edgetpu's Introduction

raspbian-EdgeTPU

This Docker image includes the libraries and packages to work with the Coral USB Accelerator (Google). The based image is balenalib/raspberrypi3-debian:buster.

The image contains the following packages/libraries:

  • Python 3.7.x
  • NodeJS 12.x
  • Python Packages:
    • numpy, matplotlib, pil, zmq
    • supervisor, tornado, picamera, python-periphery
    • jupyter, cython, jupyterlab, ipywebrtc, opencv-python
    • google-auth, oauthlib, imutils
  • Other libraries included (check the Dockerfile)

A Jupyterlab is available (https://<ip-address>:8888) in which you can write code to process images obtained e.g. from the Pi camera.

An examples using the Coral USB Accelerator is also included:

  • webcam_obj_detector_opencv.py: detects and classifies objects on the fly processing the images taken with the Pi camera. The streaming images are available over http (http://<ip address>:8080). It uses the opencv library to get images from the camera (USB port or CSI connector).

More examples can be found on the Coral website. Git is install, thus, you can download the repositories inside jupyter by typing e.g.:

!git clone https://github.com/google-coral/project-posenet.git

To run the container type the following on a Raspberry Pi terminal:

docker run -d --privileged -p 25:22 -p 8080:8080 -p 8888:8888 -e PASSWORD=<<JUPYTER_PASSWORD>> --restart unless-stopped -v /dev/bus/usb:/dev/bus/usb  lemariva/raspbian-edgetpu

You need to activate the camera interface using sudo raspi-config to use live images of the Raspberry Pi camera.

More Information

More information about the repository can be found on the following links:

Licence

  • Apache 2.0

raspbian-edgetpu's People

Contributors

lemariva avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

raspbian-edgetpu's Issues

no "notebooks/" folder and no jupyter startup

When I get the docker container going:

  • I can log in using ssh on port 25 just fine
  • There is no /notebooks/ folder
  • the output of "jupyter notebook list" is: currently running servers: and that's it.

Using image sha256:3fe9ecbb39e050cc80084c79b541597cc4a72bc3d504ea36987239ff96b47475

Raspberry Pi 3B+

output of uname -a on host:
Linux raspberrypi 5.4.83-v7+ #1379 SMP Mon Dec 14 13:08:57 GMT 2020 armv7l GNU/Linux

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.