O'Reilly logo

Learn ARCore - Fundamentals of Google ARCore by Micheal Lanham

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Scripting the neural network

With the new project set up, we can now start writing our scripts to build a neural network. Go back to Unity and perform the following steps:

  1. Open the ARCoreML/Scripts folder and then from the menu, select Assets | Create | C# Script. Name the script as Neuron and double-click to open it in your editor of choice.
The code for this example was originally sourced from https://github.com/Blueteak/Unity-Neural-Network.git, which shows an excellent example of a simple and concise neural network with training explicitly developed for Unity. We will modify the original code for our needs, but feel free to check out and contribute to the original source if you are interested. This code is great for learning, but certainly, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required