Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

page_type sample
name Sensor Visualization sample
description Sample Holographic UWP application that demonstrates visualizing sensor streams live on HoloLens 2 devices.
languages
cpp
products
windows-mixed-reality
hololens

Sensor Visualization sample

License

This sample is a Holographic UWP application that demonstrates visualizing sensor streams live on the device. It shows visualizations of frames from the two front head tracking cameras, depth and AB frames from the depth camera and a visualization of IMU accelerations visualized as lengths of a 3d coordinate system. The application is built starting from a DX11 template app. The app adds a SensorVisualizationScenario class that manages and initializes sensors and creates DX rendering models for the app. It replaces the single spinning cube from the template with multiple models used to show sensor visualizations.

Contents

File/folder Description
SensorVisualization C++ application files and assets.
SensorVisualization.sln Visual Studio solution file.
README.md This README file.

Prerequisites

Setup

  1. After cloning and opening the CameraWithCVAndCalibration.sln solution in Visual Studio, build (ARM64), and deploy.
  2. Enable Device Portal and Research Mode

Running the sample

  1. Run from the debugger in Visual Studio by pressing F5
  2. The app will show up in the start menu in HoloLens

Key concepts

Refer to the Docs/ResearchMode-ApiDoc.pdf documentation, and pay special attention to the sections on:

  • Consent Prompts
  • Main Sensor Reading Loop
  • Camera Sensors
  • Sensors > Sensor Frames

See also