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.
- A Windows 10 computer, a Kinect v2, and a HoloLens.
- CMake, Unity3D 2018.4, and Visual Studio 2019.
- Initiate vcpkg as a submodule (git submodule init, git submodule update).
- Run bootstrap-vcpkg.bat in vcpkg to build vcpkg.exe.
- 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
- Install Kinect for Windows SDK 2.0 (https://www.microsoft.com/en-us/download/details.aspx?id=44561).
- Install UsbDk (https://github.com/daynix/UsbDk/releases).
- Run run-cmake.ps1 in cpp to build Visual Studio solutions with CMake.
- 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.
- Build executable files with the Unity3D project and the Visual Studio solution in cpp/build/x64.
- Connect your computer to a Kinect v2.
- Run the exe file.
- Connect a computer to a Kinect v2.
- Run kinect_sender_demo.exe and enter a port number.
- Run kinect_receiver_demo.exe from another computer and enter the IP address and the port number of the sender.
- Connect a computer to a Kinect v2.
- Run kinect_sender_demo.exe with the computer and enter a port number.
- With the computer, (install and) run 'Microsoft HoloLens' as an application (https://www.microsoft.com/en-us/p/microsoft-hololens/9nblggh4qwnx).
- 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.
- Run 'Kinect to HoloLens' with the HoloLens device.
- 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.
- Done!