Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Programming with Kinect for Windows: From Hello...
Search
latish
March 16, 2013
Programming
1
2.3k
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
Share
More Decks by latish
See All by latish
Improving Continuously as a Developer
latish
10
1.3k
Other Decks in Programming
See All in Programming
衛星の軌道をWeb地図上に表示する
sankichi92
0
260
Zennの運営完全に理解した #完全に理解したTalk
wadayusuke
1
170
技術懸念に立ち向かい 法改正を穏便に乗り切った話
pop_cashew
0
1.2k
バランスを見極めよう!実装の意味を明示するための型定義 TSKaigi 2025 Day2 (5/24)
whatasoda
2
810
Babylon.js 8.0のアプデ情報を 軽率にキャッチアップ / catch-up-babylonjs-8
drumath2237
0
120
Using AI Tools Around Software Development
inouehi
0
880
List Unfolding - 'unfold' as the Computational Dual of 'fold', and how 'unfold' relates to 'iterate'"
philipschwarz
PRO
0
170
Prism.parseで 300本以上あるエンドポイントに 接続できる権限の一覧表を作ってみた
hatsu38
1
100
TypeScript を活かしてデザインシステム MCP を作る / #tskaigi_after_night
izumin5210
4
510
eBPFを用いたAIネットワーク監視システム論文の実装 / eBPF Japan Meetup #4
yuukit
3
710
コードに語らせよう――自己ドキュメント化が内包する楽しさについて / Let the Code Speak
nrslib
6
1.3k
型安全RESTで爆速プロトタイピング – Hono RPC実践
tacke_jp
0
110
Featured
See All Featured
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
31
1.2k
Done Done
chrislema
184
16k
GraphQLの誤解/rethinking-graphql
sonatard
71
11k
Rebuilding a faster, lazier Slack
samanthasiow
81
9k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
47
2.8k
Building Better People: How to give real-time feedback that sticks.
wjessup
368
19k
What's in a price? How to price your products and services
michaelherold
245
12k
Become a Pro
speakerdeck
PRO
28
5.4k
Six Lessons from altMBA
skipperchong
28
3.8k
Raft: Consensus for Rubyists
vanstee
138
7k
Building a Scalable Design System with Sketch
lauravandoore
462
33k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
228
22k
Transcript
Programming with Kinect for Windows @latish
Latish Sehgal @latish latish.sehgal@ improvingenterprises.com www.dotnetsurfers.com www.dallas-csharp-sig.com
~ 10 years ago
None
June 2009 Project Natal announced
June 2009 Project Natal announced Nov 2010 Kinect Launched
None
Feb 2012 Windows Hardware, SDK 1.0 Color, Depth & Audio
streams Skeletal Tracking Speech Recognition June 2009 Project Natal announced Nov 2010 Kinect Launched
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
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
Kinect for Windows
Kinect Sensors
Viewing Angles
Installation •Kinect For Windows SDK •Kinect For Windows Developer Toolkit
Optional •Coding4Fun Toolkit •Kinect Toolbox http://kinectforwindows.org
Demo
Video Stream
Resolutions 640 x 480 @ 30fps (RGB) 1280 x 960
@ 12fps (RGB) 640 x 480 @ 15fps (YUV)
Demo
Depth Stream
640 x 480 320 x 240 80 x 60 @
30 fps Resolutions
None
depth depthPoint >> DepthImageFrame.PlayerIndexBitmaskWidth player depthPoint & DepthImageFrame.PlayerIndexBitmask 0001100100000 010
depth =800mm player 2
Demo
Skeletal Tracking
20 Tracked Points
2 Actively Tracked, 6 Total
Standing vs Seated Tracking
None
•Each joint has associated tracking state
•Each joint has associated tracking state •Tracked, Not tracked or
Inferred
•Each joint has associated tracking state •Tracked, Not tracked or
Inferred •Use TransformSmoothParameters to smooth joint data to reduce jitter
Demo
Audio Stream
Sound Source Angle vs Beam Angle
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");
Demo
Face Tracking
100 tracked points
Head Pose Angles
None
•Real-time tracking of multiple faces
•Real-time tracking of multiple faces •2D/3D Mesh and Points
•Real-time tracking of multiple faces •2D/3D Mesh and Points •Animation
Units
Demo
Gestures & Poses Install-Package KinectToolbox
Algorithmic vs Templated
Demo
Kinect as a Service kinectservice.codeplex.com
None
•Available via Nuget
•Available via Nuget •Support for Windows 8, WPF and Windows
Phone
Demo
Kinect Studio
Demo
Usability
None
•Review Microsoft’s Human Interface Guidelines
•Review Microsoft’s Human Interface Guidelines •Don’t torture your users
•Review Microsoft’s Human Interface Guidelines •Don’t torture your users •Best
user experiences are context aware
•Review Microsoft’s Human Interface Guidelines •Don’t torture your users •Best
user experiences are context aware •Complement gestures with speech actions
•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
Watch another Demo, you will
Real world Uses
Barbie Dream Closet mattel.com
Home Automation http://castleos.com/
Alex’s Place (Children’s clinic)
and many more..
Personal Experience
Pros
•Your non-geek family/friends will think that your work is really
cool! Pros
•Your non-geek family/friends will think that your work is really
cool! •Testing will make you move Pros
•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
Cons
Cons •Upfront hardware investment
Cons •Upfront hardware investment •Testing can make you look awkward
Cons •Upfront hardware investment •Testing can make you look awkward
•Testing will make you move
Resources
Resources •http://channel9.msdn.com/Series/KinectQuickstart
Resources •http://channel9.msdn.com/Series/KinectQuickstart •SDK Samples
Resources •http://channel9.msdn.com/Series/KinectQuickstart •SDK Samples •Book “Programming with the Kinect for
Windows Software Development Kit” by David Catuhe
@latish
[email protected]
www.dotnetsurfers.com github.com/latish