Kinect to HoloLens with Hololens-Kinect

This post has been republished via RSS; it originally appeared at: Channel 9.

Today's project from Michelle Ma is one that is being used as the base for a number of VERY cool projects, like Building a Telepresence App with HoloLens and Kinect (Which we'll highlight next week ;)

Hololens-Kinect

Unity scripts to send Kinect data to the Hololens. The kinect joints are displayed as spheres in front of the user.

Sources

These scripts are derived from the Hololens Sharing example in the HoloToolkit and the KinectView example from the Kinect Tool Unity Pro Packages.

Requirements

In order to use these scripts, you must have:

In addition, you will need to download:

  • HoloToolkit - Make sure the Assets, External, and ProjectSettings folder are in your Unity Hololens-Sender and Hololens-Receiver Unity project.
  • Kinect Unity Pro Packages from Kinect Tools - Make sure the Kinect.2.0.XXXXXXXXXX Unity package is imported in your Hololens-Sender Unity Project - Read this post for a good tutorial on Unity 5 and Kinect 2 integration)

Here are some useful developer links to get started with the Hololens:

Usage

Before running/deploying either app, start the Sharing Session Manager from the HoloToolkit menu in Unity. Take note of the IP address for the Sharing objects in each app.

Hololens-Sender

The Hololens-Sender Unity app is a program that reads in Kinect skeletal data and broadcasts it to other devices through the Sharing Session Manager. It can be run from the Unity editor and displays the resulting data.

Setup

Make sure you include the Kinect Unity Package and HoloToolkit in your new Unity project. See above instructions for setting those up. The scene should have 5 things in the hierarchy:

...

Hololens-Receiver

The Hololens-Receiver Unity app is a program that can be deployed on the Hololens that listens for messages about Kinect skeletal data and renders it to screen.

Setup

Make sure you include HoloToolkit in your new Unity project. Also make sure that Virtual Reality is enabled in your player settings, and that internetClient, internetClientServer, and privateNetworkClientServer are enabled in the checklist. The scene should have 5 things in the hierarchy:

...

Project Information URL: https://github.com/michell3/Hololens-Kinect

Project Source URL: https://github.com/michell3/Hololens-Kinect




Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.