Kinect number of players

How can I count number of players in kinect tracking zone?

I need to go to “screen saver” when nobody is in zone (I would like to use cross CHOP to go to start position), but can’t find any parameter that tracks how many people are in front of kinect.


you could use frame differencing to determine if there is NOT a certain amount of motion. this way, it will go to your attract loop even if there are people, but they have all frozen in stunned admiration, or fallen asleep.
no parking on the dance floor.

If you only need to know if there is at least 1 person in front of the kinect,
you could use the Kinect CHOP and select the ‘id’ channels of the players. If non exists, there is no person in front of the kinect.