How to Set Up TensorFlow Object Detection on the Raspberry Pi

Edje Electronics · 352K views · 2018 · 19:26

Open on YouTube

Embedded systems & DIY electronicsComputer vision, speech & NLPMachine learning & deep learningtutorialdated

Why Stack Overflow recommends it

Stack Overflow users link it as the setup guide they followed for running TensorFlow object detection on a Raspberry Pi, usually when asking follow-up questions about the resulting script or errors.

Recommended by 0 people across 0 different months, 2018 to 2020.

What it is

A step-by-step tutorial from Edje Electronics on installing TensorFlow, OpenCV and Protobuf on a Raspberry Pi 3 running Raspbian Stretch. It then sets up the TensorFlow Object Detection API so objects can be detected in live video from a Picamera or USB webcam.

What people said

Cites Inv3nt0r · 2018-10 · Stack Overflow · on “Tensorflow object Detection with OpenCV export Text of objects detected”

I am working with Object Detection using Tensorflow and openCV on Raspberry pi 3B+. I am pretty beginner and don't know much inside the actual working of it. So I saw a tutorial this [this video] . So basically it is detecting objects and making a box on object in window and labeling it. I want raspberry pi to speak out the objects that he detects with more than 60% chances of that object. So how do I extract the string of detected object so that another script can speak that out. The script for detecting object is as follows: Thank you ######## Picamera Object Detection Using Tensorflow Classifier ######### # # Author: Evan Juras # Date: 4/15/18 # Description: # This program uses a TensorFlow cl

Cites mryldz · 2018-10 · Stack Overflow · on “Traceback (most recent call last) error on Tensorflow Rasperry PI zero W”

I have Rasppery PI zero Wireless and I am trying to use Tensorflow on it. I did all steps on link below. [this video] github link: [LINK] Object_detection_picamera.py: ######## Picamera Object Detection Using Tensorflow Classifier ######### # # Author: Evan Juras # Date: 4/15/18 # Description: # This program uses a TensorFlow classifier to perform object detection. # It loads the classifier uses it to perform object detection on a Picamera feed. # It draws boxes and scores around the objects of interest in each frame from # the Picamera. It also can be used with a webcam by adding "--usbcam" # when executing this script from the terminal. ## Some of the code is copied from Google's example at ##

Cites Inv3nt0r · 2018-10 · Stack Overflow · on “Tensorflow object Detection with OpenCV export Text of objects detected”

Thanks for the reply. I am referring this tutorial: [this video] In this he is using ssdlite dataset trained by coco model. model link: [LINK]

Cites Y Narvekar · 2019-04 · Stack Overflow · on “How do I solve Raspberry Pi 2 / Tensorflow Allocation of 5031936 exceeds 10% of system memory error?”

I am trying to detect humans in a video frame using tensorflow object detection api and raspberry pi 2.The video input is from an ip camera. I get the following error when I run my code. 2019-04-07 13:57:17.996374: W tensorflow/core/framework/allocator.cc:124] Allocation of 5660928 exceeds 10% of system memory. 2019-04-07 13:57:18.096145: W tensorflow/core/framework/allocator.cc:124] Allocation of 25159680 exceeds 10% of system memory. 2019-04-07 13:57:18.208663: W tensorflow/core/framework/allocator.cc:124] Allocation of 10063872 exceeds 10% of system memory. 2019-04-07 13:57:18.260229: W tensorflow/core/framework/allocator.cc:124] Allocation of 5031936 exceeds 10% of system memory. 2019-04

Cites Paul Higazi · 2020-07 · Stack Overflow · on “How do i separate overlapping cards from each other using python opencv?”

Yes i also think that Image Classification, or Instance Segmentation like YOLO is the best choice to make. I used a Jetson Nano (SOC Board) to transfer learn a MASK RCNN to achieve comparable results to this video, on Card segmentation : [this video]