Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Programming with Kinect for Windows: From Hello...

latish
March 16, 2013

Programming with Kinect for Windows: From Hello World to Lightsabers in 60 minutes

Slides for Introduction to Kinect Programming using C# and WPF

latish

March 16, 2013
Tweet

More Decks by latish

Other Decks in Programming

Transcript

  1. Feb 2012 Windows Hardware, SDK 1.0 Color, Depth & Audio

    streams Skeletal Tracking Speech Recognition June 2009 Project Natal announced Nov 2010 Kinect Launched
  2. Feb 2012 Windows Hardware, SDK 1.0 May 2012 SDK 1.5

    Kinect Studio Face Tracking Seated Skeletal Tracking June 2009 Project Natal announced Nov 2010 Kinect Launched
  3. Feb 2012 Windows Hardware, SDK 1.0 May 2012 SDK 1.5

    Infrared Stream Accelerometer Data Win8, VS2012 support Oct 2012 SDK 1.6 June 2009 Project Natal announced Nov 2010 Kinect Launched
  4. Installation •Kinect For Windows SDK •Kinect For Windows Developer Toolkit

    Optional •Coding4Fun Toolkit •Kinect Toolbox http://kinectforwindows.org
  5. Resolutions 640 x 480 @ 30fps (RGB) 1280 x 960

    @ 12fps (RGB) 640 x 480 @ 15fps (YUV)
  6. 640 x 480 320 x 240 80 x 60 @

    30 fps Resolutions
  7. •Each joint has associated tracking state •Tracked, Not tracked or

    Inferred •Use TransformSmoothParameters to smooth joint data to reduce jitter
  8. Grammar <!-­‐-­‐  Confirmation_Yes._value:  string   ["Yes"]  -­‐-­‐> <rule  id="Confirmation_Yes"  

    scope="public">    <example>  yes  </example>    <example>  yes  please  </example>    <one-­‐of>        <item>  yes  </item>        <item>  yeah  </item>        <item>  yep  </item>        <item>  ok  </item>    </one-­‐of>    <item  repeat="0-­‐1">  please  </item>    <tag>  out._value  =  "Yes";</tag> var  grammar  =  new  Choices(); grammar.Add(“yes  please"); grammar.Add(“yes"); grammar.Add(“yeah"); grammar.Add(“ok");  
  9. •Review Microsoft’s Human Interface Guidelines •Don’t torture your users •Best

    user experiences are context aware •Complement gestures with speech actions
  10. •Review Microsoft’s Human Interface Guidelines •Don’t torture your users •Best

    user experiences are context aware •Complement gestures with speech actions •Keep a logical relationship between gestures and corresponding actions
  11. •Your non-geek family/friends will think that your work is really

    cool! •Testing will make you move •This changes everything This changes a few things, but in big ways Pros