Investigacion

Páginas: 12 (2821 palabras) Publicado: 31 de octubre de 2012
Updated for Kinect for Windows SDK v1.0 Beta 2!
This project requires the Kinect for Windows SDK.  If you want to learn how to use the Kinect for Windows SDK, head over to the Channel 9 and their quick start series. This toolkit contains both a WinForm and WPF version.
If there is a bug [report], a needed control/feature that could benefit everyone [chat], or you want to help out [email],please reach out to us!
Toolkit Download:
 

NuGet Installs:
 
Install-Package
Coding4Fun.Kinect.Wpf

Install-Package
Coding4Fun.Kinect.WinForm
Current Coding4Fun Kinect Toolkit:
WPF:Depth Data Extension Methods: * ImageFrame.ToBitmapSource() * returns BitmapSource * int[].ToBitmapSource() * returns BitmapSource * int[].ToBitmapSource(int width, int height, intminimumDistance, 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 * BitmapSource.Save(string fileName, ImageFormat format) * returns nothing Skeleton Data Extension Methods:* 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 Controls: * Hover Button | WinForm:Depth Data Extension Methods: * 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 * Bitmap.Save(string fileName,ImageFormat format) * returns nothing Skeleton Data Extension Methods: * 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 |
Sample usage:
voidRuntimeColorFrameReady(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);
}
Screenshots:

People, Credit, and Thanks:
Clint Rutkas, Brian Peek, andDan Fernandez

Development With Kinect .NET SDK (Part II) – Using NUI APIs with Camera September 17, 2011
Posted by Abhijit Jana in .NET 4.0, Kinect.
Tags: Kinect, Kinect Camera, Kinect Tutorial, NUI APIs
trackback
In my previous post Development With Kinect .NET SDK (Part I) – Installation and Development Environment Setup I discussed about  fundamentals of  Kinect sensors and developingapplication using Kinect .NET SDK. I also explained different types of API that mainly used for interacting with Kinect Device. Natural User interfaces (NUI) and Audio are the core APIs stack for Kinect sensors and  and in the previous article we starts with NUI APIs. By this time you must know how to get start with of NUI API’s by initializing the runtime. Let’s take a inner look of NUI API. In...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • Investigacion
  • Investigacion
  • Investigacion
  • Investigacion
  • Investigacion
  • Investigacion
  • Investigacion
  • Investigacion

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS