Kinect 2 Tutorial
Kinect 2 Tutorial
Resources:
- SDK and Kinect 2 Adapter are discontinued https://www.thurrott.com/xbox/149408/microsoft-ends-production-kinect-adapter
- The Unity Demo can only be run by manually fixing the compile errors as shown below in “Compile Error Fixes”.
- Over 30 Unity Kinect v2 Examples: https://assetstore.unity.com/packages/3d/characters/kinect-v2-examples-with-ms-sdk-and-nuitrack-sdk-18708
- Getting Started / API Documentation https://docs.microsoft.com/en-us/previous-versions/windows/kinect/dn782035(v%3dieb.10)
Software Documentation:
- Go to https://www.microsoft.com/en-us/download/details.aspx?id=44561 and download the Kinect Windows SDK 2.0
- Download the Unity packages
- Import all Assets from the KinectForWindows folder.
- Open MainScene.unity and you have a fully functioning Kinect 2 demo.
Compile Error Fixes for KinectView/MainScene.unity:
- Go to these lines and comment out the code displayed in the pictures and replace it with what is typed IE. gameObject.GetComponent<Renderer>();
- InfraredSourceView.cs
- InfraredSourceView.cs
- DepthSourceView.cs
- DepthSourceView.cs
- ColorSourceView.cs
- ColorSourceView.cs