So far, our camera is able to create a depth map and determine the distance of a pixel upon the click of a mouse.
But that’s just half a Terminator. We need our ‘terminator’ to be able to say: “There is a person standing there. The person is x meters away. Attack!”
Welcome to Part 2 of this series! Now that we understand the concept of Stereo Vision (Part 1), let’s finally move on to creating our depth map.
All the scripts we will be using for this tutorial are written in Python.
To get started, clone my StereoVision repository.
If you have not set-up your Jetson Nano yet, please visit this site.
Assuming that you have got your Jetson Nano up and running, let’s install all the requirements for this project.
Since we are going to be working on Python3.6, let’s install
pip for Python3 :
sudo apt-get install python3-pip
Have you ever wondered how Terminator robots actually see the world? How do they tell if an enemy is approaching?
The answer is in the two red demonic eyes you see in the picture above. Terminators have two cameras capable of facing the same direction which enables Binocular Vision.
In fact, these sci-fi robots in James Cameron’s all-time film are based almost entirely on the human body…and this includes the eyes.
See that picture above? That is what this part is all about.
We will use Matterport’s pre-trained COCO dataset (mask_rcnn_balloon.h5) & and annotated images ( balloon_dataset.zip) to test how the model works and what to expect.
To test the model, we will be using a Jupyter Notebook!
jupyter-notebook. This will open up our Jupyter Notebook!
This Part focuses on setting up our machine to run this model. We will be learning how to use Anaconda’s virtual environments and cloning the repository from GitHub.
It is ALWAYS better to use a virtual environment for projects.
That is something I have heard numerous times in the past month since I started my journey in Computer Vision & Machine Learning, and I have to say it is true.
For those of us who are unaware, Anaconda is a Python (and R) distribution that makes package management and deployment easier.
To install Anaconda for your system, head to this…
No. Image Detection and Segmentation does not require a PhD.
Yes. It truly is amazing that we can access and use numerous libraries for free without understanding the complexities behind them.
This series mainly focuses on getting started with Image Segmentation using Mask Regional Convolutional Neural Network (MRCNN) using Python!
Although their tutorial is well-detailed, starting off as a complete beginner (like myself) can be extremely challenging. Therefore…
Machine Learning. CNN. Computer Vision. Looking to share simple and in-depth tutorials with the world! Sharing knowledge to help kick-start people’s interest!