Kinect Example 1 test1.html - It's a plain html file with a few very simple javascripts. - It contains two buttons. Once clicked, it will run the javascript, which basically just execute system shell command - Note; it only works properly on IE browser. Firefox doesn't allow interaction between webpage and system shell (at least i don't know how to do it, maybe building your own extension or add-on can get around with it) - Also, one needs to put "HHARemoteClient.exe " under directory "c:\Program Files\HomeHealthApp" to make it work HHARemoteClient - HHARemoteClient.cpp contains source code with many comments explaining how it works - It basically creates standard socket connection with the HomeHealth Application and send byte commands to host - It takes a string as parameter. i,e. If you pass "start", it will send a byte of value 2 to host, which will consider it as a start command. You can change it as you wish. HHAMain -It contains three threads. One runing kinect program, fetching data from the device, another one for display purpose and last one for remotehost receiving commands from HHARemoteClient - BodyInfo contains most information one needs to detect customized gestures. * BodyInfo contains 3D-coordinate of all body parts that can be tracked by kinect * i.e. if bHead is true, that means kinect device have confidence that it can track your head position * pHead is basically a struct with float X, float Y, float Z each representing the coordinate on X,Y,Z axis respectively * typedef struct XnVector3D { * XnFloat X; * XnFloat Y; * XnFloat Z; * } XnPoint3D; */ -please see BodyInfo.h for more information How to use BodyInfo to recognize gesture? i.e. If you want to recognize a right hand point to the right gesture. You can compare the positions of your right hand and right shoulder. If they are on the same horizontal level and right hand is to the right of right shoulder then it's probably the gesture you need. Sample code may look like the following: BodyInfo body; //update bodyinfo if(abs(body.RHand.Y-body.RShoulder.Y) <= 20 && //on the same horizontal level body.RHand.X-body.RShoulder.X >= 40) { //right hand is to the right of right shoulder }