Book Image

Microsoft HoloLens Developer???s Guide

By : Dennis Vroegop
Book Image

Microsoft HoloLens Developer???s Guide

By: Dennis Vroegop

Overview of this book

HoloLens, Microsoft’s innovative augmented reality headset, overlaps holograms into a user’s vision of their environment. Your ideas are closer to becoming real when you can create and work with holograms in relation to the world around you. If you are dreaming beyond virtual worlds, beyond screens, beyond pixels, and want to take a big leap in the world of augmented reality, then this is the book you want. Starting off with brainstorming and the design process, you will take your first steps in creating your application for HoloLens. You will learn to add gestures and write an app that responds to verbal commands before gradually moving on creating sounds in the app and placing them in a 3D space. You will then communicate between devices in the boundaries of the UWP model.
Table of Contents (16 chapters)
Title Page
Credits
About the Author
Acknowledgments
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

Working with gestures


To detect gestures, you have to do a lot of work. Recognizing hand movements and turning them into events for the application is not a trivial task. In order for the application to recognize a hand wave, for instance, you can take two approaches:

  • Procedural: This is done in code. You detect a hand position, note its placement in 3D space, then see the movement and deduce from that what happens.
  • Machine learning: This is a way to use the power of computing to learn about gestures. Basically, you feed an enormous number of images to a computer and try to teach it to recognize the gesture you want it to see.

Both approaches have advantages and disadvantages. For instance, the procedural way is relatively easy to get started with, but usually the results are less accurate. The machine learning way is hard to set up and takes a long time and a lot of training to get right, but results in much better recognition. Getting this right is a lot of tedious work and takes time and...