What I would like to do in the future is possible make, using the Microsoft Kinect, a sound playing device just be depth sensing a Roborealm. I am currently just conquering the big step of being able to set up the ability to detect the body, or possible better, a body part, that as it moves, to hit different key frequencies, not like a slide whistle, but possible implement a keyboard idea and develop farther from there.
Cropping: Is there a better way I can only take the COG from a designated region?
Python: When I would try to use the GetVariable function in Python ""cogX = GetVariable("COG_X")"", I get a ""name 'GetVariable' is not defined
I only have a slight knowledge in Python, not even sure about the other programs.
Exporting Text: Trying many different tactics to get the program to work, I tried just export the COG's coordinates to a .txt file then just using a Python program there, but I could not get the program to work due to my lack of skill
Here is my error filled attempt at that
import fileinput, winsound, sys, string;flup = open('plpp', 'r'); n=flup.readline();p=n.strip();o=p.split();[x,y]=o
If there is any way I could be using the Kinect better, please let me know.
I have also made some comments on each of my steps.