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 · OpenReview

TL;DR

This paper introduces "Research Mode" for the Microsoft HoloLens 2, an API and toolkit that grants researchers direct access to the device's raw sensor streams. This empowers the development of advanced computer vision and robotics applications by overcoming previous limitations in data accessibility.

What Problem Does This Paper Address?

Developing cutting-edge computer vision and mixed reality applications often requires access to raw sensor data that is typically processed internally by the device. This internal processing can obscure valuable information and limit the ability to experiment with novel algorithms. While the first-generation HoloLens offered a Research Mode, the HoloLens 2, with its enhanced hardware and capabilities (like a dedicated DNN core, articulated hand tracking, and eye gaze tracking), required a new approach. The problem addressed is the lack of direct, low-level access to the HoloLens 2's rich sensor suite, which hinders research and development in areas like advanced robotics, spatial mapping, and real-time computer vision.

Methods

The core contribution is the Research Mode API for HoloLens 2. This API provides C++ interfaces to access various sensor streams, including:

  • Visible-Light Tracking (VLC) cameras: Four grayscale cameras for visual-inertial SLAM.
  • Depth camera: Operates in two modes:
  • AHAT (Articulated HAnd Tracking): High-framerate near-depth sensing for hand tracking. It uses a phase-based time-of-flight camera, providing "aliased depth" to save power.
  • Long Throw: Low-framerate far-depth sensing for spatial mapping.
  • IR stream (Active Brightness): Two depth modes computed from the same modulated IR signal, unaffected by ambient light.
  • Inertial Measurement Unit (IMU): Accelerometer, Gyroscope, and Magnetometer for motion and orientation tracking.

The API allows researchers to instantiate a ResearchModeDevice, query available sensors, open streams, and retrieve frames. It also provides methods to map sensors relative to the device and the world, leveraging the HoloLens Perception APIs for spatial tracking. The paper emphasizes that OpenStream and GetNextBuffer must be called from the same thread, suggesting per-sensor frame loops run on their own threads for independent processing.

Datasets

Not discussed in the paper. The paper focuses on providing access to real-time sensor data rather than pre-recorded datasets.

Key Insights and Ideas

  • Democratizing HoloLens 2 Research: The primary insight is that providing direct access to raw sensor data significantly lowers the barrier to entry for computer vision and robotics research on the HoloLens 2 platform.
  • Bridging the Gap: Research Mode acts as a crucial bridge between the device's sophisticated internal processing and the needs of researchers who require fine-grained control and data for experimentation.
  • Leveraging Enhanced Hardware: The HoloLens 2's new hardware (DNN core, articulated hand tracking, eye gaze) is now accessible for research, opening up new avenues for algorithm development.
  • Open-Source Ecosystem: The release of the API alongside open-source tools and sample applications fosters community contribution and accelerates research progress.
  • Distinction between Research and Production: The paper clearly states that Research Mode is for academic and industrial research and is not intended for end-user applications, managing expectations regarding support and stability.

Key Results

The paper doesn't present quantitative results in terms of accuracy or performance metrics for specific algorithms. Instead, it demonstrates the capability of Research Mode by showcasing:

  • Sample Applications: The accompanying HoloLens2ForCV repository includes UWP apps for:
  • Sensor Visualization and Processing: Live visualization of depth and VLC streams, and processing with OpenCV (e.g., ArUco marker detection and triangulation).
  • Stream Recorder: Capturing Research Mode streams (depth, VLC), RGB, head, hand, and eye tracking data for offline analysis and synchronization.
  • Demonstrated Research Use Cases: The paper illustrates how Research Mode data can be used for:
  • TSDF Volume Integration: Reconstructing scenes using depth, RGB, and head poses.
  • SLAM: Feeding depth and RGB frames into a SLAM algorithm and comparing estimated camera poses with HoloLens head poses.

Limitations and Future Work

Limitations:

  • Not for Production: Research Mode is explicitly stated as not intended for end-user applications and Microsoft does not guarantee future support for hardware or OS updates.
  • API Specificity: The API is C++ based, which might require adaptation for developers primarily working in other languages.
  • No Built-in Calibration: While coordinate frames are discussed, explicit camera intrinsic calibration is not directly provided by the API, requiring users to implement it (e.g., using the provided sample apps).

Future Work:

  • Expanding Sample Applications: The authors plan to expand the set of sample UWP apps in the HoloLens2ForCV repository.
  • Community Contributions: They actively encourage contributions from the research community to further develop the tools and applications.
  • Further Research: The paper aims to facilitate further research in computer vision and robotics by providing these foundational tools.

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