Book Image

Arduino Computer Vision Programming

By : Özen Özkaya, Giray Yıllıkçı
Book Image

Arduino Computer Vision Programming

By: Özen Özkaya, Giray Yıllıkçı

Overview of this book

<p>Most technologies are developed with an inspiration of human capabilities. Most of the time, the hardest to implement capability is vision. Development of highly capable computer vision applications in an easy way requires a generic approach. In this approach, Arduino is a perfect tool for interaction with the real world. Moreover, the combination of OpenCV and Arduino boosts the level and quality of practical computer vision applications.</p> <p>Computer vision is the next level of sensing the environment. The purpose of this book is to teach you how to develop Arduino-supported computer vision systems that can interact with real life by seeing it.</p> <p>This book will combine the powers of Arduino and computer vision in a generalized, well-defined, and applicable way. The practices and approaches in the book can be used for any related problems and on any platforms. At the end of the book, you should be able to solve any types of real life vision problems with all its components by using the presented approach. Each component will extend your vision with the best practices on the topic.</p> <p>In each chapter, you will find interesting real life practical application examples about the topics in the chapter. To make it grounded, we will build a vision-enabled robot step by step towards the end of the book. You will observe that, even though the contexts of the problems are very different, the approaches to solve them are the same and very easy!</p> <p>&nbsp;</p>
Table of Contents (16 chapters)
Arduino Computer Vision Programming
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
5
Processing Vision Data with OpenCV
Index

Interfacing electric motors


Electric motors are the motion providers of electromechanical systems. They simply convert electrical energy into motion. Since we'll be dealing with electric motors in our design, we'll use the term motor for electric motor.

Motors are widely used in everyday life. Hairdryers, washing machines, fans, printers, and robots are some well-known examples that use electric motors. Using motors gives us the power to automate systems that touch the physical world. Moreover, the success of all these motion-enabled products is dependent on the control of the motion. This section aims to give you the ability to make efficient use of different kinds of motors.

In terms of their usage, electrical motors seem very simple. Connect the terminals of a motor to a battery with enough power, and the shaft will spin! But what if we want to spin the motor in the opposite direction? Connecting the wires in reverse order is one choice. Let's ask another question: what should we do if...