Unity + AI

 
Unity + AI
 
Lecture 24/04/2019
 
Esteban
esteban@cs.umu.se
 
Agenda
 
Goal
Setting up Microsoft Hololens
Setting up Vuforia in Unity
Setting up Vuforia database
Adding script events and physics to objects
 
Goal
 
The goal of this tutorial is to show how to setting
up some tools such as Unity, Visual Studio and
Vuforia.
 
Setting up Microsoft Hololens
 
These instructions are oriented to be used in a real
Hololens device.
Steps in the following video:
 
https://www.youtube.com/watch?v=7sAouB7_V8Y&l
ist=PLNzupYvW3tciBx2EKUYTkvCpGIxqxwy7w&index
=3&t=0s
 
Setting up Vuforia in Unity
 
WHY? It is a manner to load some Vuforia objects
in your project, 
e.g.
 a AR camera and Vuforia target
images. With those two elements, it is possible to
track elements (visual recognition)
 
Suggestion. Follow instructions in video:
https://www.youtube.com/watch?v=SoQuUW-
oL3k&list=PLNzupYvW3tciBx2EKUYTkvCpGIxqxwy7w
&index=7&t=0s
 
Setting up Vuforia in Unity
 
Straightforward method to get Vuforia: download
the “Vuforia Holens Sample” from the Unity Asset
Store
 
Setting up Vuforia in Unity
 
Configure the Unity project
Open File->Build Settings
Change to Universal Windows Platform
Target platform: Hololens
Select (check): Unity C# Projects
Click Build (create a folder where VS sources will be)
Open Player Settings
Revise that XR (miXed Reality) options are selected
Check following Capabilities: InternetClient, WebCam,
Microphone and SpatialPerception
Check that .NET is selected in Configuration
 
Setting up Unity project for
Hololens
 
Open Window -> Holographic Emulation
Paste the IP address from Microsoft Hololens in the
Remote Machine field
Click Connect
 
Setting up Vuforia database
 
Go to 
https://developer.vuforia.com/
Create a license key
Copy the license key
Create (Add) a Database
Then, add a Target: this is the step where you need to
train Vuforia with images of the object.
Download the database and import it to Unity
 
 
Setting up Unity project for
Hololens
 
Open in Unity ARCamera -> VuforiaConfiguration
Add Licence key
Load Vuforia database
Add an Vuforia image: GameObject -> Vuforia ->
Image
In Inspector select the Database, select Image Target
 
 
Adding script events and physics
to objects
 
To add some events in Unity, scripts in C# can be
added to objects.
Watch this video to further information on events
and how to add dynamics to objects:
https://www.youtube.com/watch?v=IlKaB1etrik
https://www.youtube.com/watch?v=9ZEu_I-ido4
 
Slide Note
Embed
Share

In this session, tools like Unity, Visual Studio, and Vuforia are explored for setting up AR experiences. Steps include configuring Microsoft Hololens, integrating Vuforia in Unity, and adding script events to objects. Follow along for a comprehensive tutorial on leveraging these tools for immersive applications.

  • Unity
  • AI
  • Augmented Reality
  • Vuforia
  • Microsoft Hololens

Uploaded on Feb 19, 2025 | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.

E N D

Presentation Transcript


  1. Unity + AI Lecture 24/04/2019 Esteban esteban@cs.umu.se

  2. Agenda Goal Setting up Microsoft Hololens Setting up Vuforia in Unity Setting up Vuforia database Adding script events and physics to objects

  3. Goal The goal of this tutorial is to show how to setting up some tools such as Unity, Visual Studio and Vuforia.

  4. Setting up Microsoft Hololens These instructions are oriented to be used in a real Hololens device. Steps in the following video: https://www.youtube.com/watch?v=7sAouB7_V8Y&l ist=PLNzupYvW3tciBx2EKUYTkvCpGIxqxwy7w&index =3&t=0s

  5. Setting up Vuforia in Unity WHY? It is a manner to load some Vuforia objects in your project, e.g. a AR camera and Vuforia target images. With those two elements, it is possible to track elements (visual recognition) Suggestion. Follow instructions in video: https://www.youtube.com/watch?v=SoQuUW- oL3k&list=PLNzupYvW3tciBx2EKUYTkvCpGIxqxwy7w &index=7&t=0s

  6. Setting up Vuforia in Unity Straightforward method to get Vuforia: download the Vuforia Holens Sample from the Unity Asset Store

  7. Setting up Vuforia in Unity Configure the Unity project Open File->Build Settings Change to Universal Windows Platform Target platform: Hololens Select (check): Unity C# Projects Click Build (create a folder where VS sources will be) Open Player Settings Revise that XR (miXed Reality) options are selected Check following Capabilities: InternetClient, WebCam, Microphone and SpatialPerception Check that .NET is selected in Configuration

  8. Setting up Unity project for Hololens Open Window -> Holographic Emulation Paste the IP address from Microsoft Hololens in the Remote Machine field Click Connect

  9. Setting up Vuforia database Go to https://developer.vuforia.com/ Create a license key Copy the license key Create (Add) a Database Then, add a Target: this is the step where you need to train Vuforia with images of the object. Download the database and import it to Unity

  10. Setting up Unity project for Hololens Open in Unity ARCamera -> VuforiaConfiguration Add Licence key Load Vuforia database Add an Vuforia image: GameObject -> Vuforia -> Image In Inspector select the Database, select Image Target

  11. Adding script events and physics to objects To add some events in Unity, scripts in C# can be added to objects. Watch this video to further information on events and how to add dynamics to objects: https://www.youtube.com/watch?v=IlKaB1etrik https://www.youtube.com/watch?v=9ZEu_I-ido4

Related


More Related Content

giItT1WQy@!-/#giItT1WQy@!-/#giItT1WQy@!-/#giItT1WQy@!-/#