How do I track multiple bodies with Azure Kinect for Unity?

Alex Lamarche 0 Reputation points
2023-11-02T21:29:52.9366667+00:00

With the unity example scene for the azure Kinect, I've been able to set up single skeleton tracking and create a few demo applications. Now I want to track and manage multiple bodies, but modifying the sample code only gets me so far.

My avatars will glitch and flicker to various positions when I have more than one tracker set up. I suppose that the bodies are being tracked, but not "memorized," that is, the body tracker only sees bodies and not the movement of bodies across multiple frames.

I've cloned this repo: https://github.com/microsoft/Azure-Kinect-Samples.git

I followed this tutorial: https://learn.microsoft.com/en-us/shows/mixed-reality/azure-kinect-body-tracking-unity-integration

In short: All I want is to have character A mapped to myself and character B mapped to my colleague next to me. The problem is that the characters will flicker between our positions. Can anyone help me understand how to track multiple bodies in unity with the Azure Kinect dk and unity plugin?

Azure Kinect DK
Azure Kinect DK
A Microsoft developer kit and peripheral device with advanced artificial intelligence sensors for sophisticated computer vision and speech models.
287 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,312 questions
{count} votes