Driver Framework

The Vuforia Engine Driver Framework allows developers to provide and consume data from external systems through Vuforia Engine.

Developers provide external data to Vuforia through the use of a driver. Application developers can then access and consume external systems through the Driver Framework. Driver developers can choose to distribute their driver to other application developers to take advantage of external systems.

The Driver Framework provides access to External Camera and External Positional Device Tracker features. The External Camera feature defines how an external system can provide image data to Vuforia Engine. For example, the File Driver takes a sequence of image files stored on a device and makes it available to the Vuforia Engine. The External Positional Device Tracker defines how an external system can provide device pose data to Vuforia Engine. For example, the File Driver takes a sequence of device poses stored on a device and makes it available to the Vuforia Engine.

Creating Vuforia Engine Drivers

Developers are able to define their own Vuforia Engine Driver to provide external data to the Vuforia Engine.  For instance, manufacturers that want to provide access to a USB or a Bluetooth camera can create their own driver so that Vuforia Engine developers can take advantage of their hardware. The Vuforia Engine Driver framework also allows developers to pull image frames from other locations such as video or image files, as well as device poses stored locally or remotely.

The Vuforia Engine Driver must be written in C/C++ and implemented as a standalone dynamic library (dll file,so file or iOS framework) which Vuforia Engine loads at runtime. For more information on how to create a driver, please refer to Creating a Custom Driver.

Using Vuforia Engine Drivers

Developers that want to access external systems through a driver need to specify the driver before initializing Vuforia Engine. Once Vuforia Engine is initialized with a driver, Engine continues to behave like it’s using a built-in camera. Authoring applications and experiences are similar to authoring an application using the built-in camera.

Note: When using the Driver Framework, it is strongly recommended that developers use a license key generated after April 10, 2018. Refer to the License Manager page in the developer portal to generate new keys.

Supported Platforms

The Driver Framework currently supports Android, iOS and Universal Windows Platform (UWP) hand-held devices. In addition to traditional phones and tablets, the Driver Framework also supports Qualcomm’s Dragonboard 410c running Android.

Developers can take advantage of Driver Framework through native platforms (Java for Android and C++ for UWP) or they can create applications using C# in Unity.
Note: Play mode in Unity does not load Vuforia Drivers.

Learn More