0% found this document useful (0 votes)
24 views

Mobile Ar Using Vuforia: By: Noraniza Samat

Vuforia is a platform for building augmented reality applications using computer vision. It allows developers to create AR apps that can track images, objects and other targets in real-time. Vuforia supports both Android and iOS applications and integrates with the Unity game engine. To develop with Vuforia, developers import the Vuforia SDK into Unity, add tracking targets using the Target Manager, and deploy the Unity application to mobile devices.

Uploaded by

YUNG CHEE CHIN
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views

Mobile Ar Using Vuforia: By: Noraniza Samat

Vuforia is a platform for building augmented reality applications using computer vision. It allows developers to create AR apps that can track images, objects and other targets in real-time. Vuforia supports both Android and iOS applications and integrates with the Unity game engine. To develop with Vuforia, developers import the Vuforia SDK into Unity, add tracking targets using the Target Manager, and deploy the Unity application to mobile devices.

Uploaded by

YUNG CHEE CHIN
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 43

MOBILE AR USING

VUFORIA
By: NORANIZA SAMAT
What you will learn
• Introduction to Vuforia
• Platform and features
• How to install/set-up Vuforia
• Vuforia Basics
• Marker Tracking, Object tracking
• Deploying to Mobile Device
• Android, iOS
OVERVIEW
Vuforia Overview
• Platform for Mobile Computer Vision
• https://www.qualcomm.com/products/vuforia
• Released by Qualcomm in 2010, acquired by PTC 2015
• Used by over 100K developers, >10K applications

• Main Features:
• Recognition
• Image, text, object recognition
• Tracking
• Image, marker, scene, object
Vuforia

• Android
Device SDK •

iOS
Unity Extension

• Target Management System


Tools & Services •

App Development Guide
Vuforia Web Services

• Dedicated technical
Support Forum support engineers
• Thousands of posts
Vuforia Features
Tracking Targets
Image

Object

Environment
Multiple Device and Tool Support
Developer Tools
Target Manager
Image Analysis Tools
Cloud Services
Platform Anatomy
User Experiences Enabled
INSTALLATION
Download Vuforia for Unity SDK
• https://developer.vuforia.com/downloads/sdk
Download Samples
• https://developer.vuforia.com/downloads/samples
Installing Vuforia Unity Extension
• Create new Unity Project
• Import the Vuforia Unity Extension
• Double clicking the *.unitypackage file
• Manually install package
• Assets -> Import Package -> Custom Package

• The extension archive will self install


• folders, plugins and libraries, etc
Imported Vuforia Assets
Unity Asset Structure
• Editor - Contains the scripts required to
interact with Target data in the Unity editor
• Plugins - Contains Java and native binaries
that integrate the Vuforia AR SDK with the
Unity Android or Unity iOS application
• Vuforia - Contains the prefabs and scripts
required to bring AR to your application
• Streaming Assets / QCAR - Contains the
Device Database configuration XML and
DAT files from the online Target Manager
USING VUFORIA
Setting up a Vuforia Project
• Create a Project
• Replace Main Camera with AR camera
• Obtain a License Key
• Add license key to AR Camera
• Add Tracking Targets
• Add sample object
Register as Developer
• https://developer.vuforia.com/vui/auth/register
Create License Key
• https://developer.vuforia.com/vui/develop/licenses
Obtain a License Key
• Vuforia 5 apps utilize a license key that uniquely identifies
each app. License keys are created in the License Manager

• The steps to creating a new license key are..


• Choose a SDK
• Choose a licensing option based on your requirements
• Provide your Billing Information if you've chosen to use a paid license
• Obtain your license Key
License Key Generated
Add License Key to Vuforia Project
• Open ARCamera Inspector in Vuforia
• Assets -> Vuforia -> Prefabs
• Move AR Camera to scene hierarchy (Delete Main Camera)
• Paste License Key
Obtain a License Key
• Vuforia 5 apps utilize a license key that uniquely identifies
each app. License keys are created in the License Manager

• The steps to creating a new license key are..


• Choose a SDK
• Choose a licensing option based on your requirements
• Provide your Billing Information if you've chosen to use a paid license
• Obtain your license Key
Adding Tracking Targets
• Create a target on the Target Manager
• OR - Use existing targets from other projects
Which Type of Database
• Device Database vs. Cloud Database?
• Device: local, Cloud: online
Creating a Target
• Create a database
• Add targets
Selecting Target Type
Loaded Image Target

• Rating indicates how good a target


• Download Dataset -> create unity package
Building the AR Application
• Delete “Main Camera” in Scene Hierarchy
• Drag ARCamera prefab in the Scene Hierarchy
• Vuforia -. Prefabs -> AR Camera
• Import tracking dataset package
• Assets -> Import Package -> Custom Package
• Drag ImageTarget prefab into Scene Hierarchy
• Select ImageTarget, pick Data Set then Image Target
• On AR Camera load target database and activate
Running the Application
Add 3D Content
• As a test, create a simple Cube object
• GameObject > Create Other > Cube
• Add the cube as a child of the ImageTarget object by
dragging it onto the ImageTarget item.
• Move the cube until it is centered on the Image Target.
Cube Test
AR Test View
Sample Applications
• Object Recognition
• Image Targets
• Cylinder Targets
• Multi Targets
• User Defined Targets
• Smart Terrain (Unity only)
• Cloud Recognition
• Text Recognition
• Frame Markers
• Virtual Buttons
DEPLOYING TO MOBILE
42

APPLICATION
• Unity
• Creating the Application
• Configure the export settings and build the Application
Building for Android
• Open Build Settings
• Change Target platform to Android
• Switch Platform
• Under Player Settings
• Edit Bundle Identifier – eg com.UniSA.cubeTest
• Minimum API level
• Build and Run
• Select .apk file name

You might also like