This will download a file we will need to import into Unity. Select the target you would like to download (the image you just uploaded), and click on “Download Database”.You want your image to have a 5-star rating this is indicative of how well Vuforia will be able to track it.Your Target Manager page should now look something like this:.There are differing opinions on this but set Width to 1.If you’re stuck, try searching for “Vuforia image target” in Google Images and selecting one of those. Here is a guide to creating good image targets.Once your database is created, click on “Add target” and select “Single Image.” Find your image using Browse and give it a name.Select “Add database” and your give your database a name, Select “Device” under Type.From the same page where you found your License Key on the Vuforia site, go to Target Manager.This will allow our Unity app to recognize a 2D image and place a 3D hologram over it. Then follow the “How to Add a License Key to a Unity app” workflow here.Follow the “How to Create a License Key” workflow here.You can right click and delete the Main Camera originally there. Within the Scene Hierarchy, right click and select Vuforia > ARCamera to add the specific Vuforia Camera to the scene.Under Capabilities, make sure “InternetClient,” “WebCam,” “Microphone,” and “SpatialPerception” are turned on. While still in Player Settings, find the Publishing Settings section.Set "Default Orientation" to "Landscape Left." While in the Windows icon tab, find the Resolution and Presentation section. For HoloLens only: Go back to Edit > Project Settings > Player.Check "Track Device Pose" and make sure "Tracking mode" is set to "POSITIONAL." This turns on Extended Tracking (see the guide linked above for more information). While still in Vuforia Configuration, find the Device Tracker section.For Android/iOS only: Under the Digital Eyewear section, set "Device Type" to "Handheld.".For HoloLens only: Under the Digital Eyewear section, set "Device Type" to "Digital Eyewear" and set "Device Config" to "HoloLens.".Find the XR Settings section and make sure "Vuforia Augmented Reality" is checked on. In Unity, go to Edit > Project Settings > Player. This guide was adapted from here. You might wish to read the entire article to familiarize yourself with Vuforia, but follow the steps below. Developers can easily add advanced computer vision functionality to any application, allowing it to recognize images and objects, and interact with spaces in the real world. Vuforia Engine is a software platform for creating Augmented Reality apps.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |