kinect question
in
Contributed Library Questions
•
9 months ago
i have a problem! my sketch works fine, but if the kinect gets no data (NaN) the object will not appear / redrawn again - i think it has something to do with the userIds.
So how can i change that the kinect just to recognize 1 User and if hes gone she will keep the image anyway
i hope you understand my bad english :/
thank you very much
So how can i change that the kinect just to recognize 1 User and if hes gone she will keep the image anyway
i hope you understand my bad english :/
thank you very much
- IntVector userList = new IntVector();
- kinect.getUsers(userList);
- for (int i=0; i<userList.size(); i++) {
- int userId = userList.get(i);
- PVector position = new PVector();
- kinect.getCoM(userId, position);
- kinect.convertRealWorldToProjective(position, position);
- fill(255, 0, 0);
1