This is a set of Azure Kinect and Femto Bolt/Mega camera examples that use several major scripts, grouped in one folder. The package contains over thirty five demo scenes. In addition to the Azure Kinect, Femto Bolt and Femto Mega sensors, the K4A-package supports Kinect-v2 camera (aka Kinect for Xbox One), as well as iPhone-Pro LiDAR cameras.
Web (
https://rfilkov.com/2019/07/24/azure-kinect-examples-for-unity/) | Forum (
https://forum.unity.com/threads/azure-kinect-examples-for-unity.715796/) | Twitter/X (
http://twitter.com/roumenf) | LinkedIn (
https://www.linkedin.com/in/rfilkov/) | Docs (
https://github.com/rfilkov/k4adocs/wiki)| Tips&Tricks (
https://rfilkov.com/2019/08/26/azure-kinect-tips-tricks/)
The avatar-demo scenes show how to utilize Kinect-controlled avatars in your scenes, gesture demo – how to use discrete and continuous gestures in your projects, fitting room demos – how to overlay or blend the user’s body with virtual models, background removal demo – how to display user silhouettes on virtual background, point cloud demos - how to present the real environment or users as meshes in your scene, etc. Short descriptions of all demo-scenes are available in the online documentation (
https://github.com/rfilkov/k4adocs/wiki/Demo-scenes).
This package works with Azure Kinect, Femto Bolt and Femto Mega sensors, Kinect-v2 (aka Kinect for Xbox One) and iPhone-Pro LiDAR sensors. It can be used with all versions of Unity – Free, Plus & Pro.
If you need a package with similar functionality, components and demo scenes that works with regular cameras, please look at Computer Vision Examples for Unity (
https://assetstore.unity.com/packages/slug/174050).
How to Run the Demo Scenes:
1a. (Azure Kinect) Download and install the latest release of Azure-Kinect Sensor SDK. The download link is below. Then open 'Azure Kinect Viewer' to check, if the sensor works as expected.
1b. (Femto Bolt and Mega) Download and unzip the latest release of Orbbec Viewer, as well as Orbbec SDK K4A Wrapper. The download links are below. Then first open 'Orbbec Viewer' and then 'K4A Viewer' to check, if the sensor works as expected.
2. (Azure Kinect and Femto Bolt/Mega) Follow the instructions on how to download and install the latest release of Azure-Kinect Body Tracking SDK. It is used by all body-tracking related scenes, regardless of the camera. The download link is below.
3. (Kinect-v2) Download and install Kinect for Windows SDK 2.0. The download link is below.
4. (iPhone Pro) For integration with the iPhone Pro's LiDAR sensor, please look at this tip (
https://rfilkov.com/2019/08/26/azure-kinect-tips-tricks/#t18).
5a. Import this package into a new Unity project.
5b. (Femto Bolt and Mega) Please follow the steps in this tip (
https://rfilkov.com/2019/08/26/azure-kinect-tips-tricks/#t19).
6. Open ‘File / Build settings’ and make sure that ‘Windows’ is the current active platform, and the architecture is set to 'Intel 64 bit'.
7. Make sure that 'Direct3D11' is the first option in the ‘Auto Graphics API for Windows’-list setting, in 'Player Settings / Other Settings / Rendering'.
8. Open and run a demo scene of your choice from a subfolder of the 'AzureKinectExamples/KinectDemos'-folder. Short descriptions of all demo-scenes are available in the online documentation (
https://github.com/rfilkov/k4adocs/wiki/Demo-scenes).
* The latest Azure Kinect Sensor SDK (v1.4.1) can be found here (
https://download.microsoft.com/download/3/d/6/3d6d9e99-a251-4cf3-8c6a-8e108e960b4b/Azure%20Kinect%20SDK%201.4.1.exe).
* The latest release of Orbbec Viewer can be found here (
https://github.com/orbbec/OrbbecSDK/releases).
* The latest Orbbec SDK K4A-Wrapper (K4A Viewer) can be found here (
https://github.com/orbbec/OrbbecSDK-K4A-Wrapper/releases).
* The latest Azure Kinect Body Tracking SDK (v1.1.2) can be found here (
https://www.microsoft.com/en-us/download/details.aspx?id=104221).
* Older releases of Azure Kinect Body Tracking SDK can be found here (
https://docs.microsoft.cDescription sourced from the Unity Asset Store listing.