Table Of ContentArduino Computer Vision
Programming
Design and develop real-world computer vision
applications with the powerful combination of
OpenCV and Arduino
Özen Özkaya
Giray Yıllıkçı
BIRMINGHAM - MUMBAI
[ FM-1 ]
Arduino Computer Vision Programming
Copyright © 2015 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval
system, or transmitted in any form or by any means, without the prior written
permission of the publisher, except in the case of brief quotations embedded in
critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy
of the information presented. However, the information contained in this book is
sold without warranty, either express or implied. Neither the authors, nor Packt
Publishing, and its dealers and distributors will be held liable for any damages
caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the
companies and products mentioned in this book by the appropriate use of capitals.
However, Packt Publishing cannot guarantee the accuracy of this information.
First published: August 2015
Production reference: 1250815
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78355-262-7
www.packtpub.com
[ FM-2 ]
Credits
Authors Copy Editors
Özen Özkaya Dipti Mankame
Giray Yıllıkçı Kevin McGowan
Reviewers Project Coordinator
Avirup Basu Sanjeet Rao
Roberto Gallea
Seyed Mohsen Mousavi Proofreader
Safis Editing
Surya Penmetsa
Randy Schur
Indexer
Priya Sane
Commissioning Editor
Priya Singh
Graphics
Sheetal Aute
Acquisition Editor
Neha Nagwekar
Production Coordinator
Shantanu N. Zagade
Content Development Editor
Shweta Pant
Cover Work
Shantanu N. Zagade
Technical Editor
Narsimha Pai
[ FM-3 ]
About the Authors
Özen Özkaya is an embedded systems engineer who has been involved in the
design, development, and verification of various applications of computer vision
and embedded systems for more than 6 years. He strongly believes in the power
of sharing knowledge and continuously extending the computer vision.
After earning 6 years of experience in the profession, he is now working for
Siemens as a senior development engineer, where he is involved in the research
and development of industrial control devices and industrial communication
processors. He also contributes to software quality assurance projects in Siemens.
He has a total of eight patent applications up to now, and all of his applications are
still in progress. He completed a bachelor's program in electronics engineering from
İstanbul Technical University (ITU) in 3 years with high honor certificates. He holds
a master's degree in electronics engineering from ITU and is currently pursuing a
PhD in electronics engineering there. During his academic studies, he worked in
various laboratories, such as the medical system design lab, control and avionics lab,
robotics lab, pattern recognition and signal processing lab, industrial automation lab,
and finally, the embedded systems lab.
In addition to his academic studies, he is now a mentor in the embedded systems
laboratory at ITU.
[ FM-4 ]
Özen can be reached directly via e-mail at ozenozkaya@gmail.com or
contact@ozenozkaya.com. If you want to learn more about him, visit his
website at http://www.ozenozkaya.com.
First of all, I would like to thank my parents, Kıyas and Ferah, for
their endless effort and perseverance in bringing me up to this level.
My academic advisor, Assoc. Prof. Dr. S. Berna Örs Yalcin, always
supported me and helped me achieve many things, so I would like
to thank her. I would also like to thank all my friends; the list is too
long to mention here.
Above all, a huge special thanks to Nilay Tüfek, who supported me
a lot in the writing of this book. She also sincerely encouraged me to
accept this challenge and overcome it.
Giray Yıllıkçı is focuses on embedded systems, computer vision, and robotics.
He has been contributing to these areas in both the industrial and academic fields.
He enjoys sharing his knowledge and experiences of the field with juniors.
He believes that sharing information is the true way of proceeding in life.
Giray is currently working as a senior research engineer at Design Lab, Koç
University, where he is coordinating the technical process of projects. He is
responsible for designing industrial-level proof of concepts for studies at Design
Lab. In addition, he manages technical research engineers. His six patent applications
are in progress.
He has a bachelor's degree in physics from Koç University. Now, he is currently
working on his MS thesis for a graduation program in satellite communication
and remote sensing at Istanbul Technical University.
[ FM-5 ]
More about him can be found at his website http://www.girayyillikci.com.
He can be contacted via gyillikci@gmail.com or gyillikci@ku.edu.tr.
First, I would like to express my gratitude to Özen Özkaya for
enabling me to be a part of this book.
I would like to thank the Packt crew who provided support, and
offered comments and assistance. At this point, I would like to
thank Seyed Mousavi for his valuable reviews and Shweta Pant for
successful content development management.
Thank you to Cetin Seren for his guidance in my career. His wise
advice and fruitful discussions have led me to achieve the best in
my field.
I would like to thank Süreyya Ciliv for providing us with an
intellectual and inspiring work environment at Turkcell Technology
Applied Research Center, where we received a lot of inspiring
know-how.
Thanks to Tugce Pakakar and her friends for helping me enjoy the
process of writing this book.
Above all, I am thankful to my mother, father, and brother, who
supported, encouraged, and inspired me throughout my life. I
would like to express my most sincere gratitude to them with
these lines.
[ FM-6 ]
About the Reviewers
Avirup Basu is currently a student pursuing a BTech in electronics and
communication engineering from the Siliguri Institute of Technology. Besides
academics, he is actively involved in the fields of robotics, IoT, and mobile
application development. Since college, he has been involved with Microsoft as
a Microsoft Student Partner and has organized 3-4 seminars and workshops on
various Microsoft technologies, mainly on Windows Phone and Windows
app development.
Being enthusiastic about robotics and Microsoft technologies, he has developed
several robots, both autonomous and manual, and has developed a couple of
manual robot controllers; some of these are the "Universal robot controller" for
Windows PC and "Mark 1 Pilot" for Windows Phone. He is also into computer vision
and has worked on detection of wild animals. A publication of his is Automated
Elephant Tracker in the journal known as the International journal of Electronics and
Communication Engineering and Technology (IJECET) under International Association
for Engineering and Management Education, which includes his work on robotics
and computer vision.
His website at http://www.avirupbasu.com holds some of his work, and you may
get in touch with him there. Being a part-time blogger, he blogs about the topics
he is interested in. Currently, he is working on autonomous robot control using
SONAR and GPS. He dreams of carrying out research and development in his
areas of interest.
[ FM-7 ]
Roberto Gallea, PhD, is a computer science researcher since 2007, at the University
of Palermo, Italy. He is committed to investigating fields such as medical imaging,
multimedia, and computer vision. In 2012, he started enhancing his academic and
personal projects with the use of analog and digital electronics, with particular
involvement in open source hardware and software platforms, such as Arduino.
Besides his academic interests, he conducts personal projects aimed at producing
hand-crafted items using embedded invisible electronics, such as musical
instruments, furniture, and LED devices. Also, he collaborates with contemporary
dance companies for digital scenes and costume designing.
Seyed Mohsen Mousavi received his telecommunication engineering bachelor's
degree from Istanbul Technical University, and he is currently pursuing his master's
in computer engineering at the same university. He works as an embedded software
engineer in the research and development department of Turkcell Technology. He
participated in the pioneering research and hands-on development of M2M and IoT
in this company and has over 15 patents. His research interests focus on embedded
systems, communication technologies, and computer vision. He has a passion for
learning new technologies and making them work in real-life projects.
[ FM-8 ]
Surya Penmetsa is a 20-year-old recently graduated alumnus of NIT Warangal,
specializing in electronics and communication engineering. Surya is mainly
interested in the fields of image processing and computer vision, which form his
core area of research. His other interests include making educational videos and
broadcasting them on YouTube through the channel "The Motivated Engineer"
which has been viewed more than 270,000 times at the time of writing this book.
Apart from this, Surya enjoys exploring new fields and has completed more than
20 online courses learning new ideas.
I would like to offer my sincere gratitude especially to my
parents, friends, and all the people associated at all stages of
researching while reviewing the book for their support and
unwavering motivation.
Randy Schur is a graduate student in mechanical engineering at The George
Washington University. He has experience with Arduino, robotics, and rapid
prototyping, and has worked on Building Wireless Sensor Networks Using Arduino,
Packt Publishing.
[ FM-9 ]