none
Question involving OverrideHandTracking RRS feed

  • Question

  • We are attempting to cycle tracked users (as mentioned in the thread found here https://social.msdn.microsoft.com/Forums/en-US/b78a739a-0b06-4344-9dd0-a5c321d7e3f4/how-to-set-bodies-to-hand-tracking?forum=kinectv2sdk) on a regular interval (round robin) to allow each user to have time interacting with the interface. After much debugging, it seems that the method `OverrideHandTracking` isn't switching out users as expected. Users which were specified to be "untracked" are still being tracked even 30+ frames after the method call, and the user they were to be replaced by never gets tracked. Is there a certain delay that should be expected so that the SDK can gather required information needed to track users, or am I possibly doing something incredibly wrong?
    Wednesday, August 12, 2015 3:18 PM

All replies

  • How many users are being tracked when you attempt to "cycle" the hand tracking?
    Thursday, August 13, 2015 2:02 PM
  • There are always two people tracked, and it seems that it is always the closest two (default behavior) even when one was overridden with the method call. Eventually (sometimes), the other users will be tracked, but only after an extended period of time has passed since the call was made.
    Thursday, August 13, 2015 2:41 PM
  • Yeah it looks like the SDK tracks hand states for two users, and you have to call OverrideHandTracking if you want to change to a user that is not the default after that.  The MSDN documentation however, provides zero insight into how the SDK handles the switching, what the best practice is for calling the method, or how fast it switches.  So looks like the doc's could use a little sprucing up.  Sorry bro.
    Friday, August 14, 2015 12:19 PM