Book Image

Microsoft HoloLens By Example

By : Joshua Newnham
Book Image

Microsoft HoloLens By Example

By: Joshua Newnham

Overview of this book

Are you a developer who is fascinated with Microsoft HoloLens and its capabilities? Do you want to learn the intricacies of working with the HoloLens SDK and create your own apps? If so, this is the book for you. This book introduces and demystifies the HoloLens platform and introduces new ways you can interact with computers (Mixed Reality). It will teach you the important concepts, get you excited about the possibilities, and give you the tools to continue exploring and experimenting. You will go through the journey of creating four independent examples throughout the book, two using DirectX and two using Unity. You will learn to implement spatial mapping and gesture control, incorporate spatial sound, and work with different types of input and gaze. You will also learn to use the Unity 5 SDK for HoloLens and create apps with it. Collectively, the apps explore the major concepts of HoloLens, but each app is independent, giving you the flexibility to choose where to start (and end).
Table of Contents (16 chapters)
Title Page
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
6
Interacting with Holograms Using Unity

The project


It's been a while since we talked about the specifics for the example of this chapter, so let's quickly revise what we are trying to achieve before jumping to the project.

HoloLens includes a world-facing camera color mounted on the front of the device, which enables apps to see what the user sees. The example for this chapter is to create an application that captures what the user sees (the frames from this camera) and uses Microsoft's Cognitive Service Face API that we just set up to detect and identify faces. When a face is recognized, we will display their name along with a predicted age and gender. This example was based on the Microsoft's Holographic face tracking sample, which is available at https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/HolographicFaceTracking.

Let's start by launching the starter solution for this chapter; this can be found in the Chapter2\Starter directory from the https://github.com/PacktPublishing/Microsoft-HoloLens-By-Example...