CodePlex builds on the new Kinect SDK
Written by Harry Fairhead   
Tuesday, 21 June 2011

Although the official Microsoft SDK for Kinect is only a few days old Coding4Fun already has a Kinect Toolkit that adds some useful methods the basic SDK.

Although the official Microsoft SDK is only a few days old there are already signs that people have been hard at work creating code with it. Coding4Fun has a Kinect Toolkit that adds some useful methods the basic SDK. Interestingly these are available in both WPF and Windows Forms - is this another tiny indicator that Windows Forms is far from dead?

The extensions are:

WPF Extensions:

  • ImageFrame.ToBitmapSource()
  • int[].ToBitmapSource()
  • int[].ToBitmapSource(int width, int height, int minimumDistance, Color highlightColor)
  • ImageFrame.ToDepthArray2D()
  •  ImageFrame.ToDepthArray()Int[].GetMidpoint(int startX, int startY, int endX, int endY, int minimumDistance) 

WPF Controls:

  • Hover Button

WinForm Extensions:

  • ImageFrame.ToBitmap()
  • int[].ToBitmap()
  • int[].ToBitmap(int width, int height, int minimumDistance, Color highlightColor)
  • ImageFrame.ToDepthArray2D()
  • ImageFrame.ToDepthArray()
  • int[].GetMidpoint(int startX, int startY, int endX, int endY, int minimumDistance)

Skeletal Extensions:

  • Joint.ScaleTo(int width, int height)  Scales a Joint's Position to the maximum width and height specified
  • Joint.ScaleTo(int width, int height, float maxSkeletonX, float maxSkeletonY)  Scales a Joint's Position to the maximum width and height specified

None of these are deep or difficult, but very handy. and if you want to know how to do some of them from first principles see Getting started with Microsoft Kinect SDK.

If you are looking for some complete demo applications then try: Kinect Mouse Cursor. This lets you use your whole body as a "mouse" cursor.

 

kinectMouse

A bigger demo is Kinect Paint  and this lets you use your body to draw and sketch within a small paint application.

If you are looking for VB samples then try:  KinectSDKSamplesVB.zip.

More Information

Coding4Fun Kinect Toolkit

Original source: The Road to Know Where

Related articles

Microsoft launches Kinect SDK (beta)

Getting started with Microsoft Kinect SDK

 

If you would like to be informed about new articles on I Programmer you can either follow us on Twitter or Facebook or you can subscribe to our weekly newsletter.

Banner


DeepMind Plays Table Tennis
05/05/2025

At the end of last year Deep Mind did something worth noting - it combined neural networks and a robot arm to beat humans at table tennis. Now we have the paper and the details.



Z3 Completed This Day In 1941
12/05/2025

On May 12, 1941 Konrad Zuse completed his Z3 computer, the first program-controlled electromechanical digital computer. It followed in the footsteps of the Z1 - the world’s first binary digital [ ... ]


More News

Last Updated ( Tuesday, 21 June 2011 )