HoloLens 2 Research Mode as a Tool for Computer Vision Research

Dorin Ungureanu, Federica Bogo, Silvano Galliani, Pooja Sama, Xin Duan, Casey Meekhof, Jan Stühmer, Thomas J. Cashman, Bugra Tekin, Johannes L. Schönberger, Pawel Olszta, Marc Pollefeys

TL;DR

Microsoft introduces HoloLens 2 Research Mode, a powerful C++ API and toolset that unlocks raw sensor streams—including depth, IR, and grayscale tracking cameras—alongside native eye and hand tracking. This framework significantly lowers the entry barrier for computer vision and robotics researchers looking to build, test, and run algorithms directly on a commercial mixed-reality headset.

What Problem Does This Paper Address?

Commercial mixed-reality headsets like the HoloLens 2 are packed with advanced sensors, but their default APIs typically abstract away raw data to protect user privacy and optimize performance for consumer apps. For researchers in computer vision and robotics, this abstraction is a bottleneck; they need low-level data (like raw depth maps or IMU readings) to prototype new algorithms.

While the first-generation HoloLens featured a "Research Mode," the HoloLens 2 introduced an entirely new hardware architecture—including a custom Holographic Processing Unit (HPU 2.0) and an ARM-based SoC—rendering the old tools incompatible. This technical report introduces the second-generation Research Mode designed specifically to bridge this gap for the HoloLens 2 platform.

Methods

The authors present a C++ API that exposes low-level access to the device's sensor suite. Key streams made available include:

  • Four Visible Light Tracking (VLC) cameras: Grayscale streams at 30 fps used natively for visual-inertial SLAM.
  • A dual-mode depth camera: Operates either in AHAT (Articulated Hand Tracking) mode—providing high-framerate (45 fps) near-depth data—or Long Throw mode for low-framerate (1-5 fps) far-depth mapping.
  • Active Brightness (AB): Infrared images computed from the depth sensor's modulated IR signal, unaffected by ambient visible light.
  • Inertial Measurement Unit (IMU): Raw accelerometer, gyroscope, and magnetometer data.
Figure 2. HPU and SoC: The HPU (top) is located on the frontal part of the device, near the sensors. The SoC (bottom), a Qual- comm Snapdragon 850, is located on the rear.

The API handles spatial mapping by linking each sensor's coordinate frame back to a central device origin (rigNode), which corresponds to the Left Front VLC camera. To accelerate development, the authors released the HoloLens2ForCV open-source repository containing sample UWP applications for live sensor visualization, OpenCV integration (e.g., arUco marker triangulation), and a StreamRecorder app for offline Python-based post-processing.

Datasets

Not discussed in the paper. The paper does not introduce or evaluate on standard machine learning datasets, as it is a tool and API announcement report. However, it provides the tools (like StreamRecorder) to allow researchers to capture and export their own synchronized sensor datasets.

Key Insights and Ideas

  • Compute Separation: The HoloLens 2 splits its workload efficiently. The custom HPU 2.0 sits at the front of the device to handle low-power, real-time computer vision tasks (like head and hand tracking), leaving the rear-mounted Qualcomm Snapdragon 850 SoC completely free to run heavy research applications.
  • Aliased Depth for Power Saving: In AHAT mode, the device saves power by only calculating "aliased depth" (the fractional part of the distance) from its phase-based time-of-flight camera. This exploits the fact that hands are always within 1 meter of the headset, making full-depth calculation redundant for hand tracking.
Figure 4. Depth in AHAT mode: Depth (left) and Active Bright- ness (right) images.
  • Sensor Fusion Potential: By exposing raw streams alongside high-level native trackers (like eye gaze and articulated hand tracking), researchers can easily correlate what the user is looking at or touching with raw 3D scene data in a unified coordinate space.

Key Results

The paper demonstrates the utility of Research Mode through two classic computer vision pipelines:

  • TSDF Volume Integration: By combining Long Throw depth, RGB frames, and head poses captured via the StreamRecorder app, the authors successfully reconstructed a 3D scene (a piano) over ~700 frames using an off-the-shelf library (Open3D).
  • SLAM Evaluation: They fed raw Long Throw depth and RGB frames into an external state-of-the-art SLAM algorithm (BAD SLAM). This demonstrates how researchers can directly evaluate custom trajectory estimation against the HoloLens 2's highly optimized native head tracking.

Limitations and Future Work

  • Research Only: Research Mode is strictly a prototyping tool for academic and industrial researchers; it is explicitly not intended for consumer application deployment.
  • No Long-Term Guarantees: Microsoft explicitly states they do not guarantee Research Mode will be supported in future hardware iterations or OS updates.
  • Feature Gaps: At the time of writing, audio capture integration within the provided StreamRecorder sample application was not yet implemented, though it remains accessible via standard Windows Media APIs.

Summary updated

BibTeX
@misc{ungureanu2020hololens,
  author = {Dorin Ungureanu and Federica Bogo and Silvano Galliani and Pooja Sama and Xin Duan and Casey Meekhof and Jan Stühmer and Thomas J. Cashman and Bugra Tekin and Johannes L. Schönberger and Pawel Olszta and Marc Pollefeys},
  title = {{HoloLens 2 Research Mode as a Tool for Computer Vision Research}},
  year = {2020},
  eprint = {2008.11239},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2008.11239},
}
Figure