Book Image

OpenCV for Secret Agents

By : Joseph Howse
Book Image

OpenCV for Secret Agents

By: Joseph Howse

Overview of this book

Table of Contents (15 chapters)
OpenCV for Secret Agents
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Planning the Rollingball app


Rollingball will be a mobile app. We will develop it in the Unity game engine using a third-party plugin called OpenCV for Unity. The app will be compatible with both Android and iOS. Our build instructions will focus on Android, but we will also provide a few notes for readers who are experienced with the iOS build process (on Mac).

Note

For instructions on setting up Unity and finding relevant documentation and tutorials, please refer back to the Unity section in Chapter 1, Preparing for the Mission. At the time of writing, Unity's supported development environments are Windows and Mac, but sadly not Linux.

Using the mobile device's camera, Rollingball will scan two types of primitive shapes: circles and lines. The user will start by drawing any combination of these primitive shapes. For example, refer to the following photograph:

Here we have three circles and three lines drawn on the facing side of the paper. The reverse side also has some shapes drawn or printed...