Use Coral EdgeTPU USB Accelerator on macOS

kojikanao profile image Koji (he/him) ・1 min read

Last year I posted the following to use a Coral EdgeTPU USB Accelerator since it only supported Debian based OS like Ubuntu and Raspbian etc.

However, Google has announced that Coral EdgeTPU USB Accelerator supports macOS and Windows.

In this post, I will introduce how to use Coral EdgeTPU USB Accelerator with macOS.


1. Install runtime

$ curl -O https://dl.google.com/coral/edgetpu_api/edgetpu_runtime_20200128.zip
$ unzip edgetpu_runtime_20200128.zip
$ cd edgetpu_runtime
$ sudo bash install.sh
$ chmod 755 install.sh && bash install.sh

2. Install python package

In this post, I will install cp36 since I'm using python 3.6

pip install https://dl.google.com/coral/edgetpu_api/edgetpu-2.13.0-cp36-cp36m-macosx_10_14_x86_64.whl

If you are using 3.5/3.7, you can find out the link here

After finish these 2 steps, you can try sample program.

Pre-trained MobileNet model + OpenCV
With VirtualBox sometimes I got errors on runtime, but so far with macOS I don't have any issues.

Alt Text

Posted on by:

kojikanao profile

Koji (he/him)


Looking for opportunities! Software Engineer in NYC/Research Resident@NYU-ITP18-19 Mostly I work with reactjs and sometimes python. code to do something weird/useless/helpful Japanese


markdown guide