This repository holds auxiliary platform-related material related to Google Coral Edge TPU. Here you can find precompiled images, shared libraries and patches for using the USB Accelerator on additional platforms to the main supported ones.
DISCLAIMER: Please note that this repository is not officially supported by Google. These additional precompiled images and libraries are provided as is at best effort. We will try to keep these unofficial builds in sync with the officially supported ones, but they will likely be out of date.
For convenience, we have uploaded prebuilt Raspbian images for Raspberry Pi Zero, Pi 3 and Pi 4. Simply write the image to an SD card, boot up your Pi, and connect the USB Accelerator. The images contain several examples that should work out of the box.
The download links are:
After you boot be sure to do the following two steps:
passwd
sudo raspi-config
And then choose “Expand root partition to fill SD card” option under Advanced Options, save and reboot.
The Vagrantfile
in this repo was originally created to support macOS from a Linux VM under VirtualBox.
This is no longer necessary because the Coral USB Accelerator now officially supports macOS (and Windows 10), since January 2020.
To use the USB Accelerator on macOS, simply follow the USB Accelerator get started guide.
We recommend using the above images but if you want to install edgetpu libraries from scratch onto a Pi Zero image you can also download a modified installation script for Raspberry Pi Zero and Zero W.
For example for Raspberry Pi Zero download edgetpu_api_rpi0_1.9.2.tar.gz
tar xzf edgetpu_api_rpi0_1.9.2.tar.gz
cd edgetpu_api
bash ./install.sh
Follow the rest of the instructions on the Coral website just like on any other platform.