THINNING DOWN KINECT 4 WINDOWS EXAMPLE CODE
In preparation for combining the two codes together, I went through trial-and-error to see which parts of the code I needed to sense + calculate the distance of a person with the Kinect device, and which parts of the code I could delete.
Most of the code that I deleted had to do with displaying the RGB/depth/etcetera images in the Processing window, or drawing the lines used for displaying the skeleton data.Â
This is a link to the Kinect4Win Example code, except I commented out the parts I did not need for the Kinect sensor to send the depth data to the computer.















