Vuforia Primer
Last updated
Last updated
Head to the Vuforia Developer Portal and register for a Vuforia developer account.
Once you have verified your account, Log In to the Vuforia Developer Portal.
Each application that you create using Vuforia requires a License Key. These License keys are free for development.
In the License Manager page, Develop > License Manager
select Get Development Key
Enter a License name (usually the name of your application).
Note that this is a free development key and for apps that are not monetised. If you wish to create a monetised app, select Buy Development Key
Once you have created a license key, they are stored within the License Manager. Click on the License Name to access the license key.
Targets refer to objects which your application will recognise. You can create a database with several targets, so that when each of those targets are recognised, different content can be displayed.
In the Target Manager page, Develop > Target Manager
select Add Database
Enter a Database name (usually the name of your application) and select Device as the Database type.
Targets can refer to images or 3D objects. To add targets to your database, click Add Target
In the modal pop-up window:
Select a Target Type (Images are generally the easiest to work with)
Upload the selected file; and
Enter any other required parameters such as dimensions
Click Add
Vuforia has sample targets available to download from their library.
Once the target has been uploaded, the target should have received a star rating. Click refresh on the bottom right of screen if the target has not received a rating.
The star rating refers to how many tracking features a particular target contains. We recommended to only use targets with a rating of four stars or more.
By clicking on the particular target name, you can view the number and location of tracking features.
You can learn more about Image Targets from the Vuforia Library
Add as many targets as required.
After all targets have been added to the database, Download the Database using the button on the top right of the Targets
window
Select Unity Editor as the Development Platform
The database may take several minutes to compile, depending on the sizes and number of targets. The database will be downloaded as a .unitypackage
In your Unity Project, head to Assets > Import Package > Custom Package
Select the recently downloaded .unitypackage
file.
In the Import Unity Package window, select all objects and click Import
The Imported Vuforia Assets will appear in the Project window.
See: Creating a Simple AR App to learn how to use Vuforia elements in Unity