SlideShare a Scribd company logo
1 of 25
Download to read offline
Programming with the Kinect for
Windows SDK
What we’ll cover
 Kinect Sensor
 Using Cameras
 Understanding Depth Data
 Skeletal Tracking
 Audio
RGB CAMERA
MULTI-ARRAY MIC MOTORIZED TILT
3D DEPTH SENSORS
SDK Architecture
Video Components Audio Components
Windows
components
1
2
3
5
4
Kernel-mode drivers for Kinect for Windows
DMO codec for mic array
Applications
Kinect for
Windows SDK
User-created
components
USB Hub
Windows Core Audio
and Speech APIs
Device
setup
Audio stream controlVideo stream control
WinUSB device stack USBAudio audio stackWinUSB camera stack
Motor Audio mic arrayCameras
NUI API
User Mode
Kernel Mode
Kinect sensor
Hardware
Device
access
SDK Architecture
Video Components Audio Components
Windows
components
1
2
3
5
4
Kernel-mode drivers for Kinect for Windows
DMO codec for mic array
Applications
Kinect for
Windows SDK
User-created
components
USB Hub
Windows Core Audio
and Speech APIs
Device
setup
Audio stream controlVideo stream control
WinUSB device stack USBAudio audio stackWinUSB camera stack
Motor Audio mic arrayCameras
NUI API
User Mode
Kernel Mode
Kinect sensor
Hardware
Device
access
SDK Architecture
Video Components Audio Components
Windows
components
1
2
3
5
4
Kernel-mode drivers for Kinect for Windows
DMO codec for mic array
Applications
Kinect for
Windows SDK
User-created
components
USB Hub
Windows Core Audio
and Speech APIs
Device
setup
Audio stream controlVideo stream control
WinUSB device stack USBAudio audio stackWinUSB camera stack
Motor Audio mic arrayCameras
NUI API
User Mode
Kernel Mode
Kinect sensor
Hardware
Device
access
SDK Architecture
Video Components Audio Components
Windows
components
1
2
3
5
4
Kernel-mode drivers for Kinect for Windows
DMO codec for mic array
Applications
Kinect for
Windows SDK
User-created
components
USB Hub
Windows Core Audio
and Speech APIs
Device
setup
Audio stream controlVideo stream control
WinUSB device stack USBAudio audio stackWinUSB camera stack
Motor Audio mic arrayCameras
NUI API
User Mode
Kernel Mode
Kinect sensor
Hardware
Device
access
SDK Architecture
Video Components Audio Components
Windows
components
1
2
3
5
4
Kernel-mode drivers for Kinect for Windows
DMO codec for mic array
Applications
Kinect for
Windows SDK
User-created
components
USB Hub
Windows Core Audio
and Speech APIs
Device
setup
Audio stream controlVideo stream control
WinUSB device stack USBAudio audio stackWinUSB camera stack
Motor Audio mic arrayCameras
NUI API
User Mode
Kernel Mode
Kinect sensor
Hardware
Device
access
Demos
Using Cameras
Understanding Depth Data
 ImageFrame.Image.Bits
 Array of bytes - public byte[] Bits;
 Array
– Starts at top left of image
– Moves left to right, then top to bottom
– Represents distance for pixel in millimeters
Calculating Distance
 2 bytes per pixel (16 bits)
 Depth – Distance per pixel
– Bitshift second byte by 8
– Distance (0,0) = (int)(Bits[0] | Bits[1] << 8);
– VB (int)(CInt(Bits(0)) Or CInt(Bits(1)) << 8);
 DepthAndPlayer Index – Includes Player index
– Bitshift by 3 first byte (player index), 5 second byte
– Distance (0,0) =(int)(Bits[0] >> 3 | Bits[1] << 5);
– VB:(int)(CInt(Bits(0)) >> 3 Or CInt(Bits(1)) << 5);
Depth Reference
 Distance Range: 850 mm to 4000 mm range
 Depth value 0 means unknown
– Shadows, low reflectivity, and high reflectivity among
the few reasons
 Player Index
– 0 – No player
– 1 – Skeleton 0
– 2 – Skeleton 1
– …
Demos
Skeleton Data
Joints
 Maximum two players tracked at once
– Six player proposals
 Each player with set of <x, y, z> joints in meters
 Each joint has associated state
– Tracked, Not tracked, or Inferred
 Inferred - Occluded, clipped, or low confidence joints
 Not Tracked - Rare, but your code must check for this state
Skeletal Tracking
Demos
Audio Going Inside of Kinect
 Four microphone array
with hardware-based
audio processing
– Multichannel echo cancellation (MEC)
– Sound position tracking
– Other digital signal processing (noise suppression
and reduction)
Audio
 Kinect as a microphone
 Kinect for Speech Recognition
Multi-modal Feedback
 Engagement model
– Mic indicator for speech-enabled menus
– Keyword to engage
 Feedback and confirmation
(both passive and active)
Speech Recognition
 Kinect Grammar available to download
 Grammar – What we are listening for
– Code – GrammarBuilder, Choices
– Speech Recognition Grammar Specification (SRGS)
 C:Program Files (x86)Microsoft Speech Platform
SDKSamplesSample Grammars
Grammar
<!-- Confirmation_YesNo._value: string
["Yes", "No"] -->
<rule id="Confirmation_YesNo"
scope="public">
<example> yes </example>
<example> no </example>
<one-of>
<item>
<ruleref uri="#Confirmation_Yes" />
</item>
<item>
<ruleref uri="#Confirmation_No" />
</item>
</one-of>
<tag> out = rules.latest() </tag>
</rule>
</rule>
<!-- 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>
Demos
Resources
 Kinect Programming Walkthroughs
– http://research.microsoft.com/kinectsdk/
 Coding4Fun Kinect Toolkit
– http://c4fkinect.codeplex.com
 Kinect SDK Quickstarts
– http://channel9.msdn.com/series/KinectSDKQuickstarts
Jancke kinect programming

More Related Content

Viewers also liked

Salarpuria Sattva Northland Brochure - Zricks.com
Salarpuria Sattva Northland Brochure - Zricks.comSalarpuria Sattva Northland Brochure - Zricks.com
Salarpuria Sattva Northland Brochure - Zricks.comZricks.com
 
Indiabulls Sky Brochure - Zricks.com
Indiabulls Sky Brochure - Zricks.comIndiabulls Sky Brochure - Zricks.com
Indiabulls Sky Brochure - Zricks.comZricks.com
 
KUL Shantiniketan Phase II Brochure - Zricks.com
KUL Shantiniketan Phase II Brochure - Zricks.comKUL Shantiniketan Phase II Brochure - Zricks.com
KUL Shantiniketan Phase II Brochure - Zricks.comZricks.com
 
Goel Ganga Satellite Brochure - Zricks.com
Goel Ganga Satellite Brochure - Zricks.comGoel Ganga Satellite Brochure - Zricks.com
Goel Ganga Satellite Brochure - Zricks.comZricks.com
 
Paranjape Sky One Brochure - Zricks.com
Paranjape Sky One Brochure - Zricks.comParanjape Sky One Brochure - Zricks.com
Paranjape Sky One Brochure - Zricks.comZricks.com
 
Rustomjee Oriana Brochure - Zricks.com
Rustomjee Oriana Brochure - Zricks.comRustomjee Oriana Brochure - Zricks.com
Rustomjee Oriana Brochure - Zricks.comZricks.com
 
Casa Grande Pallagio Brochure - Zricks.com
Casa Grande Pallagio Brochure - Zricks.comCasa Grande Pallagio Brochure - Zricks.com
Casa Grande Pallagio Brochure - Zricks.comZricks.com
 
Century Ethos Brochure - Zricks.com
Century Ethos Brochure - Zricks.comCentury Ethos Brochure - Zricks.com
Century Ethos Brochure - Zricks.comZricks.com
 
Century Central Brochure - Zricks.com
Century Central Brochure - Zricks.comCentury Central Brochure - Zricks.com
Century Central Brochure - Zricks.comZricks.com
 
Rustomjee Le Reve Brochure - Zricks.com
Rustomjee Le Reve Brochure - Zricks.comRustomjee Le Reve Brochure - Zricks.com
Rustomjee Le Reve Brochure - Zricks.comZricks.com
 
Rohan Seher II Brochure - Zricks.com
Rohan Seher II Brochure - Zricks.comRohan Seher II Brochure - Zricks.com
Rohan Seher II Brochure - Zricks.comZricks.com
 
Aparna Cyber Zon Brochure - Zricks.com
Aparna Cyber Zon Brochure - Zricks.comAparna Cyber Zon Brochure - Zricks.com
Aparna Cyber Zon Brochure - Zricks.comZricks.com
 
Salarpuria Sattva Kings Domain Brochure - Zricks.com
Salarpuria Sattva Kings Domain Brochure - Zricks.comSalarpuria Sattva Kings Domain Brochure - Zricks.com
Salarpuria Sattva Kings Domain Brochure - Zricks.comZricks.com
 
Prestige Kenilworth Brochure - Zricks.com
Prestige Kenilworth Brochure - Zricks.comPrestige Kenilworth Brochure - Zricks.com
Prestige Kenilworth Brochure - Zricks.comZricks.com
 
Rohan Avriti Brochure - Zricks.com
Rohan Avriti Brochure - Zricks.comRohan Avriti Brochure - Zricks.com
Rohan Avriti Brochure - Zricks.comZricks.com
 
Sheth Vasant Oasis Brochure - Zricks.com
Sheth Vasant Oasis Brochure - Zricks.comSheth Vasant Oasis Brochure - Zricks.com
Sheth Vasant Oasis Brochure - Zricks.comZricks.com
 
Ajmera Heritage City Brochure - Zricks.com
Ajmera Heritage City Brochure - Zricks.comAjmera Heritage City Brochure - Zricks.com
Ajmera Heritage City Brochure - Zricks.comZricks.com
 

Viewers also liked (18)

Salarpuria Sattva Northland Brochure - Zricks.com
Salarpuria Sattva Northland Brochure - Zricks.comSalarpuria Sattva Northland Brochure - Zricks.com
Salarpuria Sattva Northland Brochure - Zricks.com
 
Indiabulls Sky Brochure - Zricks.com
Indiabulls Sky Brochure - Zricks.comIndiabulls Sky Brochure - Zricks.com
Indiabulls Sky Brochure - Zricks.com
 
Star Image Task
Star Image TaskStar Image Task
Star Image Task
 
KUL Shantiniketan Phase II Brochure - Zricks.com
KUL Shantiniketan Phase II Brochure - Zricks.comKUL Shantiniketan Phase II Brochure - Zricks.com
KUL Shantiniketan Phase II Brochure - Zricks.com
 
Goel Ganga Satellite Brochure - Zricks.com
Goel Ganga Satellite Brochure - Zricks.comGoel Ganga Satellite Brochure - Zricks.com
Goel Ganga Satellite Brochure - Zricks.com
 
Paranjape Sky One Brochure - Zricks.com
Paranjape Sky One Brochure - Zricks.comParanjape Sky One Brochure - Zricks.com
Paranjape Sky One Brochure - Zricks.com
 
Rustomjee Oriana Brochure - Zricks.com
Rustomjee Oriana Brochure - Zricks.comRustomjee Oriana Brochure - Zricks.com
Rustomjee Oriana Brochure - Zricks.com
 
Casa Grande Pallagio Brochure - Zricks.com
Casa Grande Pallagio Brochure - Zricks.comCasa Grande Pallagio Brochure - Zricks.com
Casa Grande Pallagio Brochure - Zricks.com
 
Century Ethos Brochure - Zricks.com
Century Ethos Brochure - Zricks.comCentury Ethos Brochure - Zricks.com
Century Ethos Brochure - Zricks.com
 
Century Central Brochure - Zricks.com
Century Central Brochure - Zricks.comCentury Central Brochure - Zricks.com
Century Central Brochure - Zricks.com
 
Rustomjee Le Reve Brochure - Zricks.com
Rustomjee Le Reve Brochure - Zricks.comRustomjee Le Reve Brochure - Zricks.com
Rustomjee Le Reve Brochure - Zricks.com
 
Rohan Seher II Brochure - Zricks.com
Rohan Seher II Brochure - Zricks.comRohan Seher II Brochure - Zricks.com
Rohan Seher II Brochure - Zricks.com
 
Aparna Cyber Zon Brochure - Zricks.com
Aparna Cyber Zon Brochure - Zricks.comAparna Cyber Zon Brochure - Zricks.com
Aparna Cyber Zon Brochure - Zricks.com
 
Salarpuria Sattva Kings Domain Brochure - Zricks.com
Salarpuria Sattva Kings Domain Brochure - Zricks.comSalarpuria Sattva Kings Domain Brochure - Zricks.com
Salarpuria Sattva Kings Domain Brochure - Zricks.com
 
Prestige Kenilworth Brochure - Zricks.com
Prestige Kenilworth Brochure - Zricks.comPrestige Kenilworth Brochure - Zricks.com
Prestige Kenilworth Brochure - Zricks.com
 
Rohan Avriti Brochure - Zricks.com
Rohan Avriti Brochure - Zricks.comRohan Avriti Brochure - Zricks.com
Rohan Avriti Brochure - Zricks.com
 
Sheth Vasant Oasis Brochure - Zricks.com
Sheth Vasant Oasis Brochure - Zricks.comSheth Vasant Oasis Brochure - Zricks.com
Sheth Vasant Oasis Brochure - Zricks.com
 
Ajmera Heritage City Brochure - Zricks.com
Ajmera Heritage City Brochure - Zricks.comAjmera Heritage City Brochure - Zricks.com
Ajmera Heritage City Brochure - Zricks.com
 

Similar to Jancke kinect programming

Becoming a kinect hacker innovator v2
Becoming a kinect hacker innovator v2Becoming a kinect hacker innovator v2
Becoming a kinect hacker innovator v2Jeff Sipko
 
Kinect for Windows SDK Dr David Brown
Kinect for Windows SDK Dr David BrownKinect for Windows SDK Dr David Brown
Kinect for Windows SDK Dr David BrownLee Stott
 
Kinect krishna kumar-itkan
Kinect krishna kumar-itkanKinect krishna kumar-itkan
Kinect krishna kumar-itkanPat Maher
 
Kinect krishna kumar-itkan
Kinect krishna kumar-itkanKinect krishna kumar-itkan
Kinect krishna kumar-itkanPat Maher
 
Develop store apps with kinect for windows v2
Develop store apps with kinect for windows v2Develop store apps with kinect for windows v2
Develop store apps with kinect for windows v2Matteo Valoriani
 
Develop Store Apps with Kinect for Windows v2
Develop Store Apps with Kinect for Windows v2Develop Store Apps with Kinect for Windows v2
Develop Store Apps with Kinect for Windows v2Clemente Giorio
 
PyKinect: Body Iteration Application Development Using Python
PyKinect: Body Iteration Application Development Using PythonPyKinect: Body Iteration Application Development Using Python
PyKinect: Body Iteration Application Development Using Pythonpycontw
 
Writing applications using the Microsoft Kinect Sensor
Writing applications using the Microsoft Kinect SensorWriting applications using the Microsoft Kinect Sensor
Writing applications using the Microsoft Kinect Sensorphildenoncourt
 
Building Applications with the Microsoft Kinect SDK
Building Applications with the Microsoft Kinect SDKBuilding Applications with the Microsoft Kinect SDK
Building Applications with the Microsoft Kinect SDKDataLeader.io
 
Jancke kinect programming
Jancke kinect programmingJancke kinect programming
Jancke kinect programmingapocalypse-021
 
The power of Kinect in 10 minutes
The power of Kinect in 10 minutesThe power of Kinect in 10 minutes
The power of Kinect in 10 minutesTom Kerkhove
 
Kinect for Windows Quickstart Series
Kinect for Windows Quickstart SeriesKinect for Windows Quickstart Series
Kinect for Windows Quickstart SeriesRoberto Reto
 
Developing For Kinect For Windows
Developing For Kinect For WindowsDeveloping For Kinect For Windows
Developing For Kinect For WindowsPrashant Tiwari
 
Video Conferencing : Fundamentals and Application
Video Conferencing : Fundamentals and ApplicationVideo Conferencing : Fundamentals and Application
Video Conferencing : Fundamentals and ApplicationVideoguy
 
XLcloud 3-d remote rendering
XLcloud 3-d remote renderingXLcloud 3-d remote rendering
XLcloud 3-d remote renderingMarius Preda PhD
 
Per c for unity devs
Per c for unity devsPer c for unity devs
Per c for unity devsBeMyApp
 
Gam02 kinect1, kinect2
Gam02   kinect1, kinect2Gam02   kinect1, kinect2
Gam02 kinect1, kinect2DotNetCampus
 
20110917 saitama iphone_dev
20110917 saitama iphone_dev20110917 saitama iphone_dev
20110917 saitama iphone_devKaoru NAKAMURA
 
Audio and Video streaming.ppt
Audio and Video streaming.pptAudio and Video streaming.ppt
Audio and Video streaming.pptVideoguy
 
Community Day 2013 - The Power of Kinect
Community Day 2013 - The Power of KinectCommunity Day 2013 - The Power of Kinect
Community Day 2013 - The Power of KinectTom Kerkhove
 

Similar to Jancke kinect programming (20)

Becoming a kinect hacker innovator v2
Becoming a kinect hacker innovator v2Becoming a kinect hacker innovator v2
Becoming a kinect hacker innovator v2
 
Kinect for Windows SDK Dr David Brown
Kinect for Windows SDK Dr David BrownKinect for Windows SDK Dr David Brown
Kinect for Windows SDK Dr David Brown
 
Kinect krishna kumar-itkan
Kinect krishna kumar-itkanKinect krishna kumar-itkan
Kinect krishna kumar-itkan
 
Kinect krishna kumar-itkan
Kinect krishna kumar-itkanKinect krishna kumar-itkan
Kinect krishna kumar-itkan
 
Develop store apps with kinect for windows v2
Develop store apps with kinect for windows v2Develop store apps with kinect for windows v2
Develop store apps with kinect for windows v2
 
Develop Store Apps with Kinect for Windows v2
Develop Store Apps with Kinect for Windows v2Develop Store Apps with Kinect for Windows v2
Develop Store Apps with Kinect for Windows v2
 
PyKinect: Body Iteration Application Development Using Python
PyKinect: Body Iteration Application Development Using PythonPyKinect: Body Iteration Application Development Using Python
PyKinect: Body Iteration Application Development Using Python
 
Writing applications using the Microsoft Kinect Sensor
Writing applications using the Microsoft Kinect SensorWriting applications using the Microsoft Kinect Sensor
Writing applications using the Microsoft Kinect Sensor
 
Building Applications with the Microsoft Kinect SDK
Building Applications with the Microsoft Kinect SDKBuilding Applications with the Microsoft Kinect SDK
Building Applications with the Microsoft Kinect SDK
 
Jancke kinect programming
Jancke kinect programmingJancke kinect programming
Jancke kinect programming
 
The power of Kinect in 10 minutes
The power of Kinect in 10 minutesThe power of Kinect in 10 minutes
The power of Kinect in 10 minutes
 
Kinect for Windows Quickstart Series
Kinect for Windows Quickstart SeriesKinect for Windows Quickstart Series
Kinect for Windows Quickstart Series
 
Developing For Kinect For Windows
Developing For Kinect For WindowsDeveloping For Kinect For Windows
Developing For Kinect For Windows
 
Video Conferencing : Fundamentals and Application
Video Conferencing : Fundamentals and ApplicationVideo Conferencing : Fundamentals and Application
Video Conferencing : Fundamentals and Application
 
XLcloud 3-d remote rendering
XLcloud 3-d remote renderingXLcloud 3-d remote rendering
XLcloud 3-d remote rendering
 
Per c for unity devs
Per c for unity devsPer c for unity devs
Per c for unity devs
 
Gam02 kinect1, kinect2
Gam02   kinect1, kinect2Gam02   kinect1, kinect2
Gam02 kinect1, kinect2
 
20110917 saitama iphone_dev
20110917 saitama iphone_dev20110917 saitama iphone_dev
20110917 saitama iphone_dev
 
Audio and Video streaming.ppt
Audio and Video streaming.pptAudio and Video streaming.ppt
Audio and Video streaming.ppt
 
Community Day 2013 - The Power of Kinect
Community Day 2013 - The Power of KinectCommunity Day 2013 - The Power of Kinect
Community Day 2013 - The Power of Kinect
 

Recently uploaded

Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........LeaCamillePacle
 
Quarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayQuarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayMakMakNepo
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.arsicmarija21
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 
Planning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxPlanning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxLigayaBacuel1
 

Recently uploaded (20)

Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........
 
Quarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayQuarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up Friday
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
Planning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxPlanning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptx
 

Jancke kinect programming

  • 1. Programming with the Kinect for Windows SDK
  • 2. What we’ll cover  Kinect Sensor  Using Cameras  Understanding Depth Data  Skeletal Tracking  Audio
  • 3. RGB CAMERA MULTI-ARRAY MIC MOTORIZED TILT 3D DEPTH SENSORS
  • 4. SDK Architecture Video Components Audio Components Windows components 1 2 3 5 4 Kernel-mode drivers for Kinect for Windows DMO codec for mic array Applications Kinect for Windows SDK User-created components USB Hub Windows Core Audio and Speech APIs Device setup Audio stream controlVideo stream control WinUSB device stack USBAudio audio stackWinUSB camera stack Motor Audio mic arrayCameras NUI API User Mode Kernel Mode Kinect sensor Hardware Device access
  • 5. SDK Architecture Video Components Audio Components Windows components 1 2 3 5 4 Kernel-mode drivers for Kinect for Windows DMO codec for mic array Applications Kinect for Windows SDK User-created components USB Hub Windows Core Audio and Speech APIs Device setup Audio stream controlVideo stream control WinUSB device stack USBAudio audio stackWinUSB camera stack Motor Audio mic arrayCameras NUI API User Mode Kernel Mode Kinect sensor Hardware Device access
  • 6. SDK Architecture Video Components Audio Components Windows components 1 2 3 5 4 Kernel-mode drivers for Kinect for Windows DMO codec for mic array Applications Kinect for Windows SDK User-created components USB Hub Windows Core Audio and Speech APIs Device setup Audio stream controlVideo stream control WinUSB device stack USBAudio audio stackWinUSB camera stack Motor Audio mic arrayCameras NUI API User Mode Kernel Mode Kinect sensor Hardware Device access
  • 7. SDK Architecture Video Components Audio Components Windows components 1 2 3 5 4 Kernel-mode drivers for Kinect for Windows DMO codec for mic array Applications Kinect for Windows SDK User-created components USB Hub Windows Core Audio and Speech APIs Device setup Audio stream controlVideo stream control WinUSB device stack USBAudio audio stackWinUSB camera stack Motor Audio mic arrayCameras NUI API User Mode Kernel Mode Kinect sensor Hardware Device access
  • 8. SDK Architecture Video Components Audio Components Windows components 1 2 3 5 4 Kernel-mode drivers for Kinect for Windows DMO codec for mic array Applications Kinect for Windows SDK User-created components USB Hub Windows Core Audio and Speech APIs Device setup Audio stream controlVideo stream control WinUSB device stack USBAudio audio stackWinUSB camera stack Motor Audio mic arrayCameras NUI API User Mode Kernel Mode Kinect sensor Hardware Device access
  • 10. Understanding Depth Data  ImageFrame.Image.Bits  Array of bytes - public byte[] Bits;  Array – Starts at top left of image – Moves left to right, then top to bottom – Represents distance for pixel in millimeters
  • 11. Calculating Distance  2 bytes per pixel (16 bits)  Depth – Distance per pixel – Bitshift second byte by 8 – Distance (0,0) = (int)(Bits[0] | Bits[1] << 8); – VB (int)(CInt(Bits(0)) Or CInt(Bits(1)) << 8);  DepthAndPlayer Index – Includes Player index – Bitshift by 3 first byte (player index), 5 second byte – Distance (0,0) =(int)(Bits[0] >> 3 | Bits[1] << 5); – VB:(int)(CInt(Bits(0)) >> 3 Or CInt(Bits(1)) << 5);
  • 12. Depth Reference  Distance Range: 850 mm to 4000 mm range  Depth value 0 means unknown – Shadows, low reflectivity, and high reflectivity among the few reasons  Player Index – 0 – No player – 1 – Skeleton 0 – 2 – Skeleton 1 – …
  • 13. Demos
  • 15. Joints  Maximum two players tracked at once – Six player proposals  Each player with set of <x, y, z> joints in meters  Each joint has associated state – Tracked, Not tracked, or Inferred  Inferred - Occluded, clipped, or low confidence joints  Not Tracked - Rare, but your code must check for this state
  • 17. Demos
  • 18. Audio Going Inside of Kinect  Four microphone array with hardware-based audio processing – Multichannel echo cancellation (MEC) – Sound position tracking – Other digital signal processing (noise suppression and reduction)
  • 19. Audio  Kinect as a microphone  Kinect for Speech Recognition
  • 20. Multi-modal Feedback  Engagement model – Mic indicator for speech-enabled menus – Keyword to engage  Feedback and confirmation (both passive and active)
  • 21. Speech Recognition  Kinect Grammar available to download  Grammar – What we are listening for – Code – GrammarBuilder, Choices – Speech Recognition Grammar Specification (SRGS)  C:Program Files (x86)Microsoft Speech Platform SDKSamplesSample Grammars
  • 22. Grammar <!-- Confirmation_YesNo._value: string ["Yes", "No"] --> <rule id="Confirmation_YesNo" scope="public"> <example> yes </example> <example> no </example> <one-of> <item> <ruleref uri="#Confirmation_Yes" /> </item> <item> <ruleref uri="#Confirmation_No" /> </item> </one-of> <tag> out = rules.latest() </tag> </rule> </rule> <!-- 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>
  • 23. Demos
  • 24. Resources  Kinect Programming Walkthroughs – http://research.microsoft.com/kinectsdk/  Coding4Fun Kinect Toolkit – http://c4fkinect.codeplex.com  Kinect SDK Quickstarts – http://channel9.msdn.com/series/KinectSDKQuickstarts