Kinect – Getting Started – Become The Incredible Hulk

Sign in to queue


Kinect – Getting Started – Become The Incredible Hulk this article I'll show how to Get Started with Kinect SDK, from there we will move forward to how you can control the Camera Angel using the SDK and finally I'll show how to use the Skeleton Tracking and with a nice example how to become The Incredible Hulk.

Project Information URL:

Project Download URL:




void SkeletonFrameReady(object sender, SkeletonFrameReadyEventArgs e)

    foreach (SkeletonData data in e.SkeletonFrame.Skeletons)


        //Tracked that defines whether a skeleton is 'tracked' or not. The untracked skeletons only give their position. 

        if (SkeletonTrackingState.Tracked != data.TrackingState) continue;
        //Each joint has a Position property that is defined by a Vector4: (x, y, z, w). 

        //The first three attributes define the position in camera space. The last attribute (w)

        //gives the quality level (between 0 and 1) of the 

        foreach (Joint joint in data.Joints)


            if (joint.Position.W < 0.6f) return;// Quality check 

            switch (joint.ID)


                case JointID.Head:

                    var heanp = getDisplayPosition(joint);
                    Canvas.SetLeft(imgHead, heanp.X);

                    Canvas.SetTop(imgHead, heanp.Y);

                case JointID.HandRight:

                    var rhp = getDisplayPosition(joint);
                    Canvas.SetLeft(imgRightHand, rhp.X);

                    Canvas.SetTop(imgRightHand, rhp.Y);


                case JointID.HandLeft:

                    var lhp = getDisplayPosition(joint);
                    Canvas.SetLeft(imgLefttHand, lhp.X);

                    Canvas.SetTop(imgLefttHand, lhp.Y);


Contact Information:

The Discussion

Add Your 2 Cents