Ce diaporama a bien été signalé.
Le téléchargement de votre SlideShare est en cours. ×

Mobile AR Lecture 7 - Introduction to Vuforia

Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Prochain SlideShare
AR with vuforia
AR with vuforia
Chargement dans…3
×

Consultez-les par la suite

1 sur 45 Publicité

Mobile AR Lecture 7 - Introduction to Vuforia

Télécharger pour lire hors ligne

Lecture 7 from a course on Mobile Based Augmented Reality Development taught by Mark Billinghurst and Zi Siang See on November 29th and 30th 2015 at Johor Bahru in Malaysia. This lecture shows how to use Unity 3D and Vuforia to make mobile AR applications. Look for the other 9 lectures in the course.

Lecture 7 from a course on Mobile Based Augmented Reality Development taught by Mark Billinghurst and Zi Siang See on November 29th and 30th 2015 at Johor Bahru in Malaysia. This lecture shows how to use Unity 3D and Vuforia to make mobile AR applications. Look for the other 9 lectures in the course.

Publicité
Publicité

Plus De Contenu Connexe

Diaporamas pour vous (20)

Les utilisateurs ont également aimé (20)

Publicité

Similaire à Mobile AR Lecture 7 - Introduction to Vuforia (20)

Plus par Mark Billinghurst (20)

Publicité

Plus récents (20)

Mobile AR Lecture 7 - Introduction to Vuforia

  1. 1. LECTURE 7: MOBILE AR USING VUFORIA Mark Billinghurst mark.billinghurst@unisa.edu.au Zi Siang See zisiang@reina.com.my November 29th-30th 2015 Mobile-Based Augmented Reality Development
  2. 2. 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
  3. 3. OVERVIEW
  4. 4. 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
  5. 5. Vuforia •  Android   •  iOS   •  Unity  Extension   Device  SDK   •  Target  Management  System     •  App  Development  Guide   •  Vuforia  Web  Services   Tools  &  Services   •  Dedicated technical support engineers •  Thousands of posts Support  Forum  
  6. 6. Vuforia Features
  7. 7. Tracking Targets Image Object Environment
  8. 8. Multiple Device and Tool Support
  9. 9. Developer Tools
  10. 10. Target Manager
  11. 11. Image Analysis Tools
  12. 12. Cloud Services
  13. 13. Platform Anatomy
  14. 14. User Experiences Enabled
  15. 15. INSTALLATION
  16. 16. Download Vuforia for Unity SDK •  https://developer.vuforia.com/downloads/sdk
  17. 17. Download Samples •  https://developer.vuforia.com/downloads/samples
  18. 18. Installing Vuforia Unity Extension • Create new Unity Project • Import the Vuforia Unity Extension •  Double clicking the *.unitypackage file •  Eg vuforia-unity-5-0-6.unitypackage •  Manually install package •  Assets -> Import Package -> Custom Package • The extension archive will self install •  folders, plugins and libraries, etc
  19. 19. Imported Vuforia Assets
  20. 20. 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
  21. 21. USING VUFORIA
  22. 22. 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
  23. 23. Register as Developer •  https://developer.vuforia.com/user/register
  24. 24. Create License Key •  https://developer.vuforia.com/targetmanager/licenseManager/licenseListing
  25. 25. 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
  26. 26. License Key Generated
  27. 27. 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
  28. 28. 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
  29. 29. Adding Tracking Targets •  Create a target on the Target Manager •  OR - Use existing targets from other projects
  30. 30. Which Type of Database •  Device Database vs. Cloud Database? •  Device: local, Cloud: online
  31. 31. Creating a Target •  Create a database •  Add targets
  32. 32. Selecting Target Type
  33. 33. Loaded Image Target • Rating indicates how good a target • Download Dataset -> create unity package
  34. 34. 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
  35. 35. Running the Application
  36. 36. 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.
  37. 37. Cube Test
  38. 38. AR Test View
  39. 39. 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
  40. 40. DEPLOYING TO MOBILE
  41. 41. APPLICATION •  Unity •  Creating the Application •  Configure the export settings and build the Application 42
  42. 42. 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
  43. 43. RESOURCES
  44. 44. Resources •  Vuforia Product Page https://www.qualcomm.com/products/vuforia •  Vuforia Developer Page https://developer.vuforia.com •  SDK Download Page https://developer.vuforia.com/downloads/sdk •  Installing Vuforia for Unity extension http://developer.vuforia.com/library/articles/Solution/ Installing-the-Unity-Extension •  Tutorials https://developer.vuforia.com/resources/tutorials

×