Adding the image target

We will now add the image target to the project and import the image database:

  1. In your web browser, go to the Vuforia Dev Portal (https://developer.vuforia.com/).
  2. Create a target database, give it a name like BusinessCard and Type: Device.

 

  1. Click Add Target to add a Type: Single Image, specify a file (PurpleFinchCard.png), a width (in meters) (0.09), and Add it to the database.
  2. Download the database using Download Database, be sure to select Unity Editor as type.

Back in Unity:

  1. Drag the ImageTarget prefab into the Hierarchy.
  2. Import the downloaded database package using Assets | Import Package | Custom Package.
  3. Select ImageTarget in Hierarchy, and in Inspector select your Database (BusinessCard).
  4. Check the Enable ...

Get Augmented Reality for Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.