Git Product home page Git Product logo

kinect-to-hololens's Introduction

Kinect to HoloLens

A pipeline that connects a Kinect v2 and a HoloLens in real-time. For a telepresence system built on top of this work, supporting Azure Kinect and more headsets, see Telespace.

Requirement

  • A Windows 10 computer, a Kinect v2, and a HoloLens.
  • CMake, Unity3D 2018.4, and Visual Studio 2019.

Build Instructions

  1. Initiate vcpkg as a submodule (git submodule init, git submodule update).
  2. Run bootstrap-vcpkg.bat in vcpkg to build vcpkg.exe.
  3. Use vcpkg.exe to install c++ libraries: asio, ffmpeg, libvpx, and opencv.
.\vcpkg.exe install asio:x86-windows asio:x64-windows ffmpeg:x86-windows ffmpeg:x64-windows libvpx:x86-windows libvpx:x64-windows opencv:x86-windows opencv:x64-windows
  1. Install Kinect for Windows SDK 2.0 (https://www.microsoft.com/en-us/download/details.aspx?id=44561).
  2. Install UsbDk (https://github.com/daynix/UsbDk/releases).
  3. Run run-cmake.ps1 in cpp to build Visual Studio solutions with CMake.
  4. Run build-plugin.ps1 that builds a Unity3D plugin with the Visual Studio solution, then copies DLL files including the plugin into the Unity3D project in unity/KinectToHoloLens.
  5. Build executable files with the Unity3D project and the Visual Studio solution in cpp/build/x64.

Examples

Examples that does not require a HoloLens

kinect_reader_demo.exe

  1. Connect your computer to a Kinect v2.
  2. Run the exe file.

kinect_sender_demo.exe and kinect_receiver_demo.exe

  1. Connect a computer to a Kinect v2.
  2. Run kinect_sender_demo.exe and enter a port number.
  3. Run kinect_receiver_demo.exe from another computer and enter the IP address and the port number of the sender.

Examples for a HoloLens

kinect_sender_demo.exe and Kinect to HoloLens

  1. Connect a computer to a Kinect v2.
  2. Run kinect_sender_demo.exe with the computer and enter a port number.
  3. With the computer, (install and) run 'Microsoft HoloLens' as an application (https://www.microsoft.com/en-us/p/microsoft-hololens/9nblggh4qwnx).
  4. Through the application, connect your computer to a HoloLens as a device. This step requires the IP address of the HoloLens device and also the device has to be turned on to be connected.
  5. Run 'Kinect to HoloLens' with the HoloLens device.
  6. Enter the IP address and port of the computer running kinect_sender_demo.exe to 'Kinect to HoloLens'. This requires usage of the virtual keyboard in the 'Microsoft HoloLens' as an application. First, you will be able enter the IP address through the virtual keyboard. Then use the tab key to switch mode for entering the port, then enter the port. After that, press enter.
  7. Done!

kinect-to-hololens's People

Contributors

hanseuljun avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.