We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi everyone! I'm complete beginner to processing, kinect and simpleopenni. I'm sorry for asking stupid question, but please help me :(
I tried to create a usercounter for many times for my program, since I'd like to base on the amount of the tracked user to switch my sketch between two function, yet it did't work at all. ( e.g usercount is 1-20 = function A; usercount is 21-29=switch to function B; usercount is 30-50= function A; ...)
if I count it by getting the number of userID or using kinect.getNumberOfUsers() , it only gets the current detecting user, and the count will go back to 0, or even -1 when the users is out of the scene map.
I'd like to have a user countor accumulating all the users instead of the current ones, what should i do?
I'm using simpleopenni 1.96, processing 2.1 and window sdk 1.8. (OS: window 7) Thank you so much!