Book Image

Python Robotics Projects

By : Prof. Diwakar Vaish
Book Image

Python Robotics Projects

By: Prof. Diwakar Vaish

Overview of this book

Robotics is a fast-growing industry. Multiple surveys state that investment in the field has increased tenfold in the last 6 years, and is set to become a $100-billion sector by 2020. Robots are prevalent throughout all industries, and they are all set to be a part of our domestic lives. This book starts with the installation and basic steps in configuring a robotic controller. You'll then move on to setting up your environment to use Python with the robotic controller. You'll dive deep into building simple robotic projects, such as a pet-feeding robot, and more complicated projects, such as machine learning enabled home automation system (Jarvis), vision processing based robots and a self-driven robotic vehicle using Python. By the end of this book, you'll know how to build smart robots using Python.
Table of Contents (24 chapters)
Title Page
Packt Upsell
Contributors
Preface
Index

The basics of images


When we say camera, we don't necessarily think of it as a sensor, even tough it is one. However, it is slightly different from all the sensors that we have studied until now. Most of the sensors are consisting of one sensing element such as proximity sensing, temperature sensing, or passive IR sensing. With a camera, what we are doing is capturing light; now, rather than having one light sensor, we have multiple, in fact an array of millions of these sensors grouped together on a single chip. But the story does not end here, and these sensors not only capture just light, but also different intensities of light; they can sense the color spectrum and its relative brightness. Every sensing element that does this functionality is named a pixel. Most of these pixels generate an RGB value, which is nothing but the intensity of red, green, and blue color. Why RGB, you might think? These are primary colors, and mixing these colors up in the right quantities results in making...