Vuforia Engine's support for digital eyewear enables the creation of AR experiences for optical see-through devices such as the Microsoft HoloLens and Magic Leap 2.
Digital eyewear apps can be developed for UWP, Magic Leap OS, or Android using Unity (C#) or native C. Our Digital Eyewear Sample and guide for Unity demonstrates how to develop HoloLens and Magic Leap applications. It is available in the Unity Asset Store.
Vuforia Engine supports the following digital eyewear devices:
Optical See-Through | Microsoft HoloLens 2
Magic Leap 2 |
---|---|
Video See-Through | RealWear HMT-1 |
Working with Digital Eyewear
The workflow for developing digital eyewear apps using the Vuforia Engine Unity Extension and native C APIs is very similar to that used to develop mobile apps. The Vuforia Engine automatically determines if it is running on a HoloLens or Magic Leap device in a Unity app.
Please see the following articles for more general information:
Developing Vuforia Engine Apps for HoloLens.
Developing Vuforia Engine Apps for Magic Leap.
The RealWear device is a monocular video-see-through device that supports tracking targets without device tracking. See Recommended Devices for details.
Designing targets for Digital Eyewear apps
There are two important considerations when designing targets for digital eyewear apps:
- Target size. Compared to mobile apps, targets are typically farther from the device camera. This is because mobile app users extend the device away from their bodies. For this reason, slightly larger targets are often required to ensure reliable detection and tracking. We recommend a minimum target size of approximately 150 mm2 or 6 inches2.
- Target scale. The unit scale for optical see-through digital eyewear apps is set to millimeters. In the Target Manager, define your Image Target and Multi Target widths and Cylinder Target lengths in millimeters. This will scale your content as expected when it is rendered. Enter the target's true width or length in millimeters in the Add Target dialog.
Digital Eyewear samples
The Vuforia following samples are available either in the Unity Asset Store or from the Vuforia Developer Portal:
Unity |
The Digital Eyewear Sample shows how to create an AR experience for Image Targets, Model Targets, and VuMarks targeting either the HoloLens or Magic Leap devices. |
---|---|
Android |
The RealWear HMT-1 is supported with the full set of samples in the Core Features section with the exemption of Ground Plane, Area Targets, and Model Targets. |