Abstract
It’s, finally, time to get our hands dirty and write some code to program the Kinect device. No matter how old I get, the enthusiasm of coding for such an exciting technology resembles the unique feeling of the first “Hello World” program I’ve ever written.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
Keep in mind that the SDK version number may be different in your case.
- 2.
DNN stands for “Deep Neural Network,” and it’s a type of AI set of cognitive algorithms. ONNX stands for “Open Neural Network Exchange” and is an AI ecosystem. The ONNX Runtime is a low-level engine that processes the Machine Learning model to acquire its body-tracking results.
- 3.
Netron model visualizer: https://lutzroeder.github.io/netron/
- 4.
Mastering Azure Kinect source code: https://github.com/vangos/mastering-azure-kinect
- 5.
Mastering Azure Kinect Unity package: https://github.com/vangos/mastering-azure-kinect/releases/latest
- 6.
The video camera and the depth camera are different sensors; thus, they do not fire their frames at exactly the same time.
- 7.
To create a disposable object yourself, simply implement the IDisposable C# interface.
- 8.
The actual exception message would read “AzureKinectException: result = K4A_WAIT_RESULT_FAILED”.
- 9.
There is no such thing as a fully bulletproof application. Things may go wrong, even if you think you’ve checked everything. For example, what happens if the user manually unplugs the Kinect cable while the app is in use? In that case, you should add a background process that’s constantly checking for the number of connected devices. I’ll leave this as an exercise for you.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2022 Vangos Pterneas
About this chapter
Cite this chapter
Pterneas, V. (2022). Configuring the Device. In: Mastering the Microsoft Kinect . Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-8070-6_3
Download citation
DOI: https://doi.org/10.1007/978-1-4842-8070-6_3
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-8069-0
Online ISBN: 978-1-4842-8070-6
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)