Book Image

Unity 2018 Augmented Reality Projects

By : Jesse Glover
Book Image

Unity 2018 Augmented Reality Projects

By: Jesse Glover

Overview of this book

Augmented Reality allows for radical innovations in countless areas. It magically blends the physical and virtual worlds, bringing applications from a screen into your hands. Meanwhile, Unity has now become the leading platform to develop augmented reality experiences, as it provides a great pipeline for working with 3D assets. Using a practical and project-based approach, Unity 2018 Augmented Reality Projects educates you about the specifics of augmented reality development in Unity 2018. This book teaches you how to use Unity in order to develop AR applications which can be experienced with devices such as HoloLens and Daydream. You will learn to integrate, animate, and overlay 3D objects on your camera feed, before gradually moving on to implementing sensor-based AR applications. In addition to this, you will explore the technical considerations that are especially important and possibly unique to AR. The projects in the book demonstrate how you can build a variety of AR experiences, whilst also giving insights into C# programming as well as the Unity 3D game engine via the interactive Unity Editor. By the end of the book, you will be equipped to develop rich, interactive augmented reality experiences for a range of AR devices and platforms using Unity.
Table of Contents (16 chapters)
Title Page
Copyright and Credits
Packt Upsell

Installing and building OpenCV

Now, what if you don’t have the funds to build this project with paid assets that would make your life easier? Well, the option is to build from scratch. It is much more involved and is generally a rabbit hole that more experienced developers tend to go down than beginners.

This isn’t to say that beginners can’t follow along and build from scratch themselves; in fact, I suggest that if you are a beginner, follow along, as there are many new things to learn from this exercise, from dealing with other people’s source files, to incorporating them into your own projects with an understanding of that code base. 

To get OpenCV set up to run with Unity, we have a few steps we need to go through. We need to download OpenCV and CMake. OpenCV is the library we will be heavily utilizing, and CMake is the software that allows us to manage the build process in any given operating system and compiler with independence in mind. 

Downloading OpenCV

Let's get started by first downloading...