I added functionality for the program to save positions to a file, X and Y as pixel positions and Z as depth. Each joint is labeled (H: Head, WL: Wrist Left, and so on), and flagged as tracked or inferred. The screenshot is of a skeleton in “sitting position”, hence no joints below the spine.
Working on a Python script to read the file and output another with the positions averaged out, in order to reduce noise.
public void Export(Uri path, Canvas surface)
if (path == null) return;
// Save current canvas transform
Transform transform = surface.LayoutTransform;
// reset current transform (in case it is scaled or rotated)
surface.LayoutTransform = null;
// Get the size of canvas
Size size = new Size(surface.Width, surface.Height);
// Measure and arrange the surface
// VERY IMPORTANT
// Create a render bitmap and push the surface to it
RenderTargetBitmap renderBitmap =
Example of usage from the C#-library: RenderTargetBitmap
These are some of the web pages I found that might help us.
Gesture Recognition course
Wave gesture tutorial
Pretty Easy Web Service Tutorial
Threading in C#
We were looking for ways to use png images as brushes.
motionHat is a solar-powered super hat that makes you look cool and brings energy to your brain at the same time!
I didn’t choose the thug life, thug life chose me
I didn’t know, but now I know. Thank you motionHat