Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learn ARCore - Fundamentals of Google ARCore

You're reading from   Learn ARCore - Fundamentals of Google ARCore Learn to build augmented reality apps for Android, Unity, and the web with Google ARCore 1.0

Arrow left icon
Product type Paperback
Published in Mar 2018
Publisher Packt
ISBN-13 9781788830409
Length 274 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Micheal Lanham Micheal Lanham
Author Profile Icon Micheal Lanham
Micheal Lanham
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. Getting Started FREE CHAPTER 2. ARCore on Android 3. ARCore on Unity 4. ARCore on the Web 5. Real-World Motion Tracking 6. Understanding the Environment 7. Light Estimation 8. Recognizing the Environment 9. Blending Light for Architectural Design 10. Mixing in Mixed Reality 11. Performance Tips and Troubleshooting 12. Other Books You May Enjoy

Programming a neural network


The best way to learn something is to do it, so in this section, we will write a simple neural network that we'll then train to perform various tasks. This network will have a set number of layers—input, hidden, and output—but we will allow for a number of neurons to be set in each layer. We will write this code in Unity so that we can use it in Chapter 10Mixing in Mixed Reality.

Note

Writing a neural network is an advanced example, which will require a discussion with math to properly explain. If you feel overwhelmed at any time, you can always open up the finished project and check the final results. Of course, if you have written a neural network earlier, then you may also want to skip this section.

For this example, we will create a new project from the source Unity template, so let's get started by opening Command Prompt:

  1. Create a new folder called ARCore off the root (C:\ on Windows) folder using the following commands:
mkdir ARCore
cd ARCore
  1. This set of commands...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image