Coding4Fun Kinect Toolkit
- Posted: Jun 21, 2011 at 9:30 AM
- 6,700 Views
- 3 Comments
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Toolkit to help simplify Kinect development, built by the Coding4Fun team as they built their own Kinect projects (i.e. you gain from their pain)
Overview of the Coding4Fun Kinect Toolkit:
WPF Extensions:
- ImageFrame.ToBitmapSource()
- returns BitmapSource
- int[].ToBitmapSource()
- returns BitmapSource
- int[].ToBitmapSource(int width, int height, int minimumDistance, Color highlightColor)
- returns BitmapSource
- ImageFrame.ToDepthArray2D()
- returns int[][]
- ImageFrame.ToDepthArray()
- returns int[]
- int[].GetMidpoint(int startX, int startY, int endX, int endY, int minimumDistance)
- returns Point
WPF Controls:
- Hover Button
WinForm Extensions:
- ImageFrame.ToBitmap()
- returns Bitmap
- int[].ToBitmap()
- returns Bitmap
- int[].ToBitmap(int width, int height, int minimumDistance, Color highlightColor)
- returns Bitmap
- ImageFrame.ToDepthArray2D()
- returns int[][]
- ImageFrame.ToDepthArray()
- returns int[]
- int[].GetMidpoint(int startX, int startY, int endX, int endY, int minimumDistance)
- returns Point
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
Project Information URL: http://c4fkinect.codeplex.com/
Project Download URL: http://c4fkinect.codeplex.com/releases/view/68333
void RuntimeColorFrameReady(object sender, ImageFrameReadyEventArgs e)
{
colorImg.Source = e.ImageFrame.ToBitmapSource();
e.ImageFrame.ToBitmapSource().Save("catpure.jpg", ImageFormat.Jpeg);
}void RuntimeDepthFrameReady(object sender, ImageFrameReadyEventArgs e)
{
depthImg.Source = e.ImageFrame.ToBitmapSource();
e.ImageFrame.ToDepthArray2D()[160][120];
e.ImageFrame.GetDistance(160, 120);
e.ImageFrame.ToDepthArray();
e.ImageFrame.ToBitmapSource().Save("catpure.jpg", ImageFormat.Jpeg);
} Contact Information:
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
Oops, something didn't work.
What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in. You need to be signed in to Channel 9 to use this feature.What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in and view them all on your notifications page.sign up for email notifications?
how do you create a hover button?
it's somehow not in the toolbox.
thx in advance
how do you create a hover button?
it's somehow not in the toolbox.
thx in advance
Sorry for posting here, not other viable channel :/
You know, i want a cool feature on my Xbox with Kinect. And since there is no way to coding it on the xbox and integrate it on the dashboard. I simply suggest it.
When the xbox with kinect do not recognize a command word. Broadcast it via UDP and make some HDMI (CEC) control words. Make it a an open standard, and i no time you will have the TV, Media Centers, PC, Home Theathers, controlled via Kinect.
Remove this comment
Remove this thread
close