Object Detection with OpenCV, Tensorflow Hub & Python |

Published: 20 July 2021
on channel: pyGuru
2,632
35

In this tutorial we will be learning how to implement a simple object detection tool in Google colab. For this we will be using the following libraries : opencv, Tensorflow, tensorflow_hub, pandas, numpy, matplotlib. We will be learning object detection workflow along with detecting a number of objects in several images.

We are going to use a model from the Tensorflow Hub library, which has multiple ready to deploy models trained in all kinds of datasets and to solve all kinds of problems. For our use, I filtered models trained for object detection tasks and models in the TFLite format. The chosen model was the EfficientDet-Lite2 Object detection model. It was trained on the COCO17 dataset with 91 different labels and optimized for the TFLite application.

This model returns:
1 - The box boundaries of the detection
2 - The detection scores (probabilities of a given class)
3 - The detection classes
4 - The number of detections.

Download model : https://tfhub.dev/tensorflow/efficien...

Download labels csv : https://drive.google.com/file/d/10wXj...

Colab Notebook link : https://colab.research.google.com/dri...

All resources used in this tutorial : https://drive.google.com/folderview?i...


The original source of this tutorial is taken from a article written by Gabriel Cassimiro, you can read the article here : https://towardsdatascience.com/object...

#python #opencv #tensorflow #tensorflowhub #objectdetection #numpy #colab #coco17 #iot #tensors #pandas #classification
#pythonguru python guru


On this page of the site you can watch the video online Object Detection with OpenCV, Tensorflow Hub & Python | with a duration of hours minute second in good quality, which was uploaded by the user pyGuru 20 July 2021, share the link with friends and acquaintances, this video has already been watched 2,632 times on youtube and it was liked by 35 viewers. Enjoy your viewing!