Search code examples
kinectkinect-sdk

How to restrict the detection of users to be 1?


I'm trying to develop with Kinect v2 for Windows, in an medical environment that only 1 user should be detected (no intervention from others).

Is there any definition of such value to refer to?


Solution

  • look at the example here

    http://www.codeproject.com/Articles/743862/Kinect-for-Windows-version-Body-tracking

    where the array _bodies gets filled with people data, then simply take the first array element if available.