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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
latish
March 16, 2013
Programming
2.5k
1
Share
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
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
メッセージングを利用して時間的結合を分離しよう #phperkaigi
kajitack
3
580
AI時代の脳疲弊と向き合う ~言語学としてのPHP~
sakuraikotone
1
1.8k
へんな働き方
yusukebe
6
2.9k
Reactive ❤️ Loom: A Forbidden Love Story
franz1981
2
230
我々はなぜ「層」を分けるのか〜「関心の分離」と「抽象化」で手に入れる変更に強いシンプルな設計〜 #phperkaigi / PHPerKaigi 2026
shogogg
2
910
「話せることがない」を乗り越える 〜日常業務から登壇テーマをつくる思考法〜
shoheimitani
4
690
Go_College_最終発表資料__外部公開用_.pdf
xe_pc23
0
170
アーキテクチャモダナイゼーションとは何か
nwiizo
17
4.8k
車輪の再発明をしよう!PHP で実装して学ぶ、Web サーバーの仕組みと HTTP の正体
h1r0
3
520
Running Swift without an OS
kishikawakatsumi
0
740
의존성 주입과 모듈화
fornewid
0
130
PHP でエミュレータを自作して Ubuntu を動かそう
m3m0r7
PRO
2
170
Featured
See All Featured
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
200
Building a Scalable Design System with Sketch
lauravandoore
463
34k
GitHub's CSS Performance
jonrohan
1032
470k
Between Models and Reality
mayunak
3
260
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.7k
Unsuck your backbone
ammeep
672
58k
Typedesign – Prime Four
hannesfritz
42
3k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.2k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Statistics for Hackers
jakevdp
799
230k
Git: the NoSQL Database
bkeepers
PRO
432
67k
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