Run object detection model on the Raspberry Pi
Raspberry-Pi-TF-Lite-Object-Detection
Using TensorFlow Lite with Python is great for embedded devices based on Linux, such as Raspberry Pi.
This is the guide for installing TensorFlow Lite on the Raspberry Pi and running pre-trained object detection models on it.
Step 1. Setting up Rasperry Pi
Upgrade Raspbian Stretch to Buster
(If you on Buster, skip this step and simply run sudo apt-get update and sudo apt-get dist-upgrade)
$ sudo apt-get update && sudo apt-get upgrade -y
Verify nothing is wrong. Verify no errors are reported after each command. Fix as required (you’re on your own here!).
$ dpkg -C
$ apt-mark showhold
Prepare apt-get Sources
Update the sources to apt-get. This replaces “stretch” with “buster” in the repository locations giving apt-get access to the new version’s binaries.