Are you just getting started with machine/deep learning, TensorFlow, or Raspberry Pi? Perfect, this blog post is for you! I created rpi-deep-pantilt as an interactive demo of object detection in the wild. 🦁
UPDATE — Face detection and tracking added!
I’ll show you how to reproduce the video below, which depicts a camera panning and tilting to track my movement across a room.
I will cover the following:
Originally published at bitsy.ai/3-ways-to-install-tensorflow-on-raspberry-pi.
With the new Raspberry Pi 400 shipping worldwide, you might be wondering: can this little powerhouse board be used for Machine Learning?
The answer is, yes! TensorFlow Lite on Raspberry Pi 4 can achieve performance comparable to NVIDIA’s Jetson Nano at a fraction of the dollar and power cost. You can achieve real-time performance with state-of-the-art neural network architectures like MobileNetV2 by adding a Coral Edge TPU USB Accelerator.
This performance boost unlocks interesting offline TensorFlow applications, like detecting and tracking a moving object.
I’ve been using zsh and ohmyz.sh for years, but I still occasionally forget this shell interprets square brackets as a pattern on the command line.
Here’s an example:
$ which $SHELL
$ pip install -e .[develop,plugins]
zsh: no matches found: [develop,plugins]
Instead of installing the
plugins variant of this Python package, zsh attempted to match this pattern. To account for this, I need to escape the square brackets:
$ pip install -e .\[develop,plugins\]
If I need a more permanent fix, I can use an alias to
set -o noglob (disable shell…
Data collection and preparation are the foundation of every machine learning application. You’ve heard it before: “Garbage in, garbage out” in reference to an algorithm’s limited capability to correct for inaccurate, poor-quality, or biased input data.
The cost of quality annotated data prompted a cottage industry of tools/platforms for speeding up the data labeling process. Besides the SaaS/on-prem startup ecosystem, each of the major cloud providers (AWS, Microsoft, Google) launched an automated data labeling product in the last two years. Understandably, these services are often developed with Premium/Enterprise users, features, and price points in mind.
For roughly $100 USD, you can add deep learning to an embedded system or your next internet-of-things project.
Are you just getting started with machine/deep learning, TensorFlow, or Raspberry Pi? Perfect, this blog series is for you!
In this series, I will show you how to: