in

How To Run TensorFlow Lite on Raspberry Pi for Object Detection



TensorFlow Lite is a framework for running lightweight machine learning models, and it’s perfect for low-power devices like the Raspberry Pi! This video shows how to set up TensorFlow Lite on the Raspberry Pi for running object detection models to locate and identify objects in real-time webcam feeds, videos, or images.

I used a Raspberry Pi 4 4GB for this video, but it also works with the Raspberry Pi 3. If you want to see how much faster the Pi 4 is than the Pi 3, check out my performance comparison video:

Have questions? Ask me on Twitter @EdjeElectronics ! I usually respond faster there: https://twitter.com/EdjeElectronics

— Affiliate Links —

Get a Rasbperry Pi 4: https://amzn.to/2Kf0el8
Coral USB Accelerator: https://amzn.to/2wxTZ8d
Webcam used in this video (works better than the Picamera!): https://amzn.to/2MMBTU3

— Tutorial Links —

UPDATE (10/21/20): At 6:09 in the video, I instruct you to go to the TensorFlow Lite Object Detection Overview page and right click the “Download starter model” link to copy the link address. The page has changed since I made this video, and that link is no longer correct. Copy this link for downloading the starter model:
storage.googleapis.com/download.tensorflow.org/models/tflite/coco_ssd_mobilenet_v1_1.0_quant_2018_06_29.zip

Written version of this guide: https://github.com/EdjeElectronics/TensorFlow-Lite-Object-Detection-on-Android-and-Raspberry-Pi/blob/master/deploy_guides/Raspberry_Pi_Guide.md

How to train your own custom TFLite model: https://www.youtube.com/watch?v=XZ7FYAMCc4M

— Music credit —

The Process by LAKEY INSPIRED: https://soundcloud.com/lakeyinspired/the-process
Creative Commons — Attribution-ShareAlike 3.0 Unported — CC BY-SA 3.0

Share this: