/HoloLensARToolKit

Marker tracking using the front-facing camera of HoloLens and Unity3D, with a wrapper of ARToolKit built for UWP (Windows Universal Platform)

Primary LanguageCGNU Lesser General Public License v3.0LGPL-3.0

HoloLens with ARToolKit

Author: Long Qian

Date: 2017-02-14

Overview

HoloLensARToolKit is a successful experiment to integrate ARToolKit (v5.3.2) with HoloLens, or generally UWP (Universal Windows Platform).

With fiducial marker tracking provided by ARToolKit, plus the indoor localization of HoloLens, many Augmented Reality applications would be made possible.

This repository contains:

  • Wrapper of ARToolKit5 for UWP
  • Unity package to interface the native library
  • Some sample Unity scenes to demo the use of them
  • Link to camera calibration of HoloLens

Example

Minion on the Cube (Youtube Video) HoloLensARToolKit Samples (Youtube Video)

Run the sample

  1. Make sure you have HoloLens development tools installed.
    • HoloLens Emulator and Vuforia are not required.
  2. Launch Unity3D, open project folder HoloLensARSample.
  3. Import the unity package ARToolKitUWP.unitypackage.
  4. Open one of the sample scenes
    • Assets/Sample/HoloLensARToolKitSingle.unity
    • Assets/Sample/HoloLensARToolKitCube.unity
    • Assets/Sample/HoloLensARToolKitMulti.unity
  5. Configure HoloLens deployment settings and deploy to HoloLens.
  6. Prepare the correspondent printed marker of ARToolKit.
    • Marker images are Here.
    • Make sure the printed marker size is same as configured in Unity.
  7. See the effect.
    • HoloLens clicker or air tap is able to tune the visualization of camera frame.

Understand HoloLensARToolKit


Academic Citation

If this work helps your research, please cite the following paper:

@online{1703.05834,
  Author = {Long Qian and Ehsan Azimi and Peter Kazanzides and Nassir Navab},
  Title = {Comprehensive Tracker Based Display Calibration for Holographic Optical See-Through Head-Mounted Display},
  Year = {2017},
  Eprint = {1703.05834},
  Eprinttype = {arXiv},
}

License

HoloLensARToolKit is composed of two separate projects: ARToolKitUWP and ARToolKitUWP-Unity (including samples). Both of them are open for use in compliance with GNU Lesser General Public License (LGPL v3.0). Please see COPYING and COPYING.LESSER for license details.

ARToolKitUWP is a modified version of ARToolKit, statically links against ARToolKit binaries, and therefore complies with the license restrictions of ARToolKit (see details).