SlideShare a Scribd company logo
QUICKSTART SERIES
   KINECT FOR WINDOWS
INSTALLING &
USING KINECT



               KINECT FOR WINDOWS
INTRODUCTION
• Designed to get you started
• Assume you have some programming
  experience
• Managed API - Concepts work in both VB/C#




                 KINECT FOR WINDOWS
QUICKSTART SERIES
•   Installing and Using the Kinect Sensor
•   Setting up your Development Environment
•   Camera Fundamentals
•   Working with Depth Data
•   Skeletal Tracking Fundamentals
•   Audio Fundamentals

                   KINECT FOR WINDOWS
KINECT SENSORS
IR Emitter      Color Sensor
                                IR Depth Sensor
                                                  Tilt Motor




             Microphone Array


                   KINECT FOR WINDOWS
GET STARTED
• http://kinectforwindows.org
  • Order Kinect Hardware
  • Download Kinect SDK




                    KINECT FOR WINDOWS
INSTALLING AND USING KINECT


 DEMO



          KINECT FOR WINDOWS
SETTING UP
YOUR DEVELOPMENT
ENVIRONMENT


           KINECT FOR WINDOWS
QUICKSTART SERIES
•   Installing and Using the Kinect Sensor
•   Setting up your Development Environment
•   Camera Fundamentals
•   Working with Depth Data
•   Skeletal Tracking Fundamentals
•   Audio Fundamentals

                  KINECT FOR WINDOWS
KINECT API BASICS
• Manage Kinect state
  • Connected
  • Enable Color, Depth, Skeleton
  • Start Kinect
• Get Data
  • Events - AllFramesReady
  • Polling – OpenNextFrame

                     KINECT FOR WINDOWS
RESOURCES
• Install Kinect Explorer
   • KinectWpfViewers
• Coding4Fun Toolkit
   • Skeletal scaling




                        KINECT FOR WINDOWS
SETTING UP YOUR DEV
     ENVIRONMENT


DEMO



        KINECT FOR WINDOWS
CAMERA
FUNDAMENTALS



           KINECT FOR WINDOWS
QUICKSTART SERIES
•   Installing and Using the Kinect Sensor
•   Setting up your Development Environment
•   Camera Fundamentals
•   Working with Depth Data
•   Skeletal Tracking Fundamentals
•   Audio Fundamentals

                   KINECT FOR WINDOWS
CAMERA DATA
• Events return ImageFrame
  •   PixelDataLength
  •   FrameNumber
  •   Timestamp
  •   Dimensions: Height, Width
• Use AllFramesReady event to synchronize


                      KINECT FOR WINDOWS
RESOLUTIONS
• Color
  • 12 FPS: 1280X960 RGB
  • 15 FPS: Raw YUV 640x480
  • 30 FPS: 640x480
• Depth
  • 30 FPS: 80x60, 320x240, 640x480


                    KINECT FOR WINDOWS
CAMERA FUNDAMENTALS


DEMO



       KINECT FOR WINDOWS
WORKING WITH
DEPTH DATA



               KINECT FOR WINDOWS
QUICKSTART SERIES
•   Installing and Using the Kinect Sensor
•   Setting up your Development Environment
•   Camera Fundamentals
•   Working with Depth Data
•   Skeletal Tracking Fundamentals
•   Audio Fundamentals

                   KINECT FOR WINDOWS
DEPTH DATA
• Returns the distance and player for every pixel
  • Ex: 320x240 = 76,800 pixels
• Distance
  • Distance in mm from Kinect ex: 2,000mm (6.56 feet)
• Player
  • 1-6 players


                     KINECT FOR WINDOWS
MODE


Mode      Depth & Player    Center Hip Joint   Other 19 Joints
Default        Yes                    Yes            Yes
 Near          Yes                    Yes        No, for v1.0




                 KINECT FOR WINDOWS
DISTANCES
  Feet     1.3’   2.6’     9.8’   13.1’        26.2’

  Meters   .4     .8       3       4            8

Default
 Mode
 Near
 Mode




                          KINECT FOR WINDOWS
FORMULAS
• Distance Formula
  int depth = depthPoint >> DepthImageFrame.PlayerIndexBitmaskWidth;



• Player Formula
  int player = depthPoint & DepthImageFrame.PlayerIndexBitmask;




                          KINECT FOR WINDOWS
WORKING WITH DEPTH DATA


DEMO



        KINECT FOR WINDOWS
SKELETAL
TRACKING
FUNDAMENTALS


           KINECT FOR WINDOWS
QUICKSTART SERIES
•   Installing and Using the Kinect Sensor
•   Setting up your Development Environment
•   Camera Fundamentals
•   Working with Depth Data
•   Skeletal Tracking Fundamentals
•   Audio Fundamentals

                   KINECT FOR WINDOWS
SKELETON DATA




   KINECT FOR WINDOWS
SKELETAL JOINTS
• 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
• Use TransformSmoothParameters to smooth joint data to reduce
  jitter




                              KINECT FOR WINDOWS
SKELETAL TRACKING
• Maximum two players tracked at once
   • Six player proposals per Kinect
• Each skeleton has a unique identifier - TrackingID
• SkeletonStream
   • Set AppChoosesSkeletons to false
   • Use ChooseSkeletons method to choose which skeletons to track




                            KINECT FOR WINDOWS
SKELETAL TRACKING


DEMO



       KINECT FOR WINDOWS
AUDIO
FUNDAMENTALS



           KINECT FOR WINDOWS
QUICKSTART SERIES
•   Installing and Using the Kinect Sensor
•   Setting up your Development Environment
•   Camera Fundamentals
•   Working with Depth Data
•   Skeletal Tracking Fundamentals
•   Audio Fundamentals

                   KINECT FOR WINDOWS
SOUND POSITION
• Sound Source Angle – the angle and confidence level of where
  audio is coming from
• Beam Angle – The angle used to record audio that you can set as a
  “directional microphone”




   -50                           0                           +50



                          KINECT FOR WINDOWS
RECORDING
• KinectAudioSource audio buffer
• Use Echo Cancellation to not record PC sound




                  KINECT FOR WINDOWS
SPEECH RECOGNITION
• Grammar – What we are listening for
  • Code – GrammarBuilder, Choices
• Note: Ensure AutomaticGainControl = false




                   KINECT FOR WINDOWS
GRAMMAR
<!-- Confirmation_Yes._value: string ["Yes"]
-->
<rule id="Confirmation_Yes" scope="public">
  <example> yes </example>                      var grammar = new Choices();
  <example> yes please </example>               grammar.Add(“yes please");
  <one-of>
    <item> yes </item>
                                                grammar.Add(“yes");
    <item> yeah </item>                         grammar.Add(“yeah");
    <item> yep </item>                          grammar.Add(“ok");
    <item> ok </item>
  </one-of>
  <item repeat="0-1"> please </item>
  <tag> out._value = "Yes";</tag>




                                 KINECT FOR WINDOWS
MULTI-MODAL FEEDBACK
• Engagement model
  – Mic indicator for speech-enabled menus
  – Keyword to engage
• Feedback and confirmation



                   KINECT FOR WINDOWS
AUDIO


DEMO



       KINECT FOR WINDOWS

More Related Content

PPTX
Building Applications with the Microsoft Kinect SDK
PDF
Oway interactive whiteboard
PDF
[1C7] Developing with Oculus
DOCX
Xbox final
PDF
Zoom Rooms Kit from Video Conference Gear featuring the Poly EagleEye Directo...
PPTX
Panacast 2 4k Video Conference Camera - Ultra Wide Angle
PDF
Zoom Rooms Kit from Video Conference Gear featuring the Logitech Rally Camera...
PPTX
H.265 RTSP Streaming to VLC + NewTek NDI Plugin
Building Applications with the Microsoft Kinect SDK
Oway interactive whiteboard
[1C7] Developing with Oculus
Xbox final
Zoom Rooms Kit from Video Conference Gear featuring the Poly EagleEye Directo...
Panacast 2 4k Video Conference Camera - Ultra Wide Angle
Zoom Rooms Kit from Video Conference Gear featuring the Logitech Rally Camera...
H.265 RTSP Streaming to VLC + NewTek NDI Plugin

What's hot (18)

PDF
Zoom Rooms Kit featuring the Logitech Rally Camera and Nureva HDL300
PDF
Zoom Rooms Kit from Video Conference Gear featuring the AVer CAM540 and Nurev...
PDF
Zoom Rooms Kit from Video Conference Gear featuring the Poly EagleEye Directo...
PDF
Zoom Rooms Kit from Video Conference Gear featuring the Logitech Rally Camera...
PDF
Zoom Rooms Kit from Video Conference Gear featuring the AVer CAM540 and Nurev...
PPTX
Oculus insight building the best vr aaron davies
PPTX
Oculus Rift Developer Kit 2 and Latency Mitigation techniques
PDF
State of the Art Telephony with Ruby
PDF
e-learning Studio Tools
PDF
NEX-FS700
PDF
Sony NEX-FS700EK
PDF
Sony NEX-FS700E
PDF
Zoom Rooms Kit from Video Conference Gear featuring the AVer VC520 Pro
KEY
IITK Workshop
PDF
How to stream a meetup or live event
PDF
Capturing Stills, Sounds, and Scenes with AV Foundation
PDF
Atomos Ninja Blade Brochure
PDF
Zoom Rooms Kit from Video Conference Gear featuring the Jabra PanaCast and Ya...
Zoom Rooms Kit featuring the Logitech Rally Camera and Nureva HDL300
Zoom Rooms Kit from Video Conference Gear featuring the AVer CAM540 and Nurev...
Zoom Rooms Kit from Video Conference Gear featuring the Poly EagleEye Directo...
Zoom Rooms Kit from Video Conference Gear featuring the Logitech Rally Camera...
Zoom Rooms Kit from Video Conference Gear featuring the AVer CAM540 and Nurev...
Oculus insight building the best vr aaron davies
Oculus Rift Developer Kit 2 and Latency Mitigation techniques
State of the Art Telephony with Ruby
e-learning Studio Tools
NEX-FS700
Sony NEX-FS700EK
Sony NEX-FS700E
Zoom Rooms Kit from Video Conference Gear featuring the AVer VC520 Pro
IITK Workshop
How to stream a meetup or live event
Capturing Stills, Sounds, and Scenes with AV Foundation
Atomos Ninja Blade Brochure
Zoom Rooms Kit from Video Conference Gear featuring the Jabra PanaCast and Ya...
Ad

Viewers also liked (20)

PPTX
La globalización: consecuencias humanas
PPTX
Portafolio de siller 3 a de jose angel avila alfaro
PDF
Speciale 2. udgave
DOCX
Iniciativa Anticorrupción
PDF
Progama de formación tecnico en sistemas 865244
PDF
TDAH en el aula: Guía para Docentes
PDF
Primer Paquete Económico 2017 Zacatecas (2/9)
DOCX
Como hacer un plan de negocios
PPT
Schrijven voor het web
DOC
Evidence: Describing my kitchen. ENGLISH DOT WORKS 2. SENA.
PDF
Estrategias competitivas básicas
PDF
Cápsula 1. estudios de mercado
PDF
Rodriguez alvarez
DOC
2. describing cities and places. ENGLISH DOT WORKS 2. SENA. semana 4 acitivda...
PDF
Capacitacion y adiestramiento
DOC
3.Evidence: Getting to Bogota.ENGLISH DOT WORKS 2. SENA.semana 4 actividad 3.
DOC
Evidence: Going to the restaurant . ENGLISH DOT WORKS 2. SENA.
DOC
Evidence: I can’t believe it.ENGLISH DOT WORKS 2. semana 3 actividad 1.SENA.
DOCX
Evidence: Memorable moments.ENGLISH DOT WORKS 2. SENA. semana 2 actividad 2.
La globalización: consecuencias humanas
Portafolio de siller 3 a de jose angel avila alfaro
Speciale 2. udgave
Iniciativa Anticorrupción
Progama de formación tecnico en sistemas 865244
TDAH en el aula: Guía para Docentes
Primer Paquete Económico 2017 Zacatecas (2/9)
Como hacer un plan de negocios
Schrijven voor het web
Evidence: Describing my kitchen. ENGLISH DOT WORKS 2. SENA.
Estrategias competitivas básicas
Cápsula 1. estudios de mercado
Rodriguez alvarez
2. describing cities and places. ENGLISH DOT WORKS 2. SENA. semana 4 acitivda...
Capacitacion y adiestramiento
3.Evidence: Getting to Bogota.ENGLISH DOT WORKS 2. SENA.semana 4 actividad 3.
Evidence: Going to the restaurant . ENGLISH DOT WORKS 2. SENA.
Evidence: I can’t believe it.ENGLISH DOT WORKS 2. semana 3 actividad 1.SENA.
Evidence: Memorable moments.ENGLISH DOT WORKS 2. SENA. semana 2 actividad 2.
Ad

Similar to Kinect for Windows Quickstart Series (20)

PPTX
Kinect seminar 120919
PPTX
Kinect seminar 121215v1
PPTX
Kinect seminar 121208v1(동영상x)
PPTX
Kinect seminar 121110v1
PPTX
Kinect seminar 121020v1
PPTX
Kinect seminar 121027
PPTX
Kinect seminar 121103v1
PDF
2 track kinect@Bicocca - hardware e funzinamento
PDF
PyKinect: Body Iteration Application Development Using Python
PDF
Jancke kinect programming
PPTX
Becoming a kinect hacker innovator v2
PPTX
The power of Kinect in 10 minutes
PPT
IEEE VR-SEARIS 2014 Keynote - MiddleVR - Philosophy and architecture
PPTX
Kinect seminar 121201v1(동영상x)
PPTX
Visug: Say Hello to my little friend: a session on Kinect
PDF
Gam02 kinect1, kinect2
PPTX
Computer Vision Meetup March: How we built snapscreen
PPTX
Lidnug Presentation - Kinect - The How, Were and When of developing with it
PPTX
Community Day 2013 - The Power of Kinect
PDF
Using intel's real sense to create games with natural user interfaces justi...
Kinect seminar 120919
Kinect seminar 121215v1
Kinect seminar 121208v1(동영상x)
Kinect seminar 121110v1
Kinect seminar 121020v1
Kinect seminar 121027
Kinect seminar 121103v1
2 track kinect@Bicocca - hardware e funzinamento
PyKinect: Body Iteration Application Development Using Python
Jancke kinect programming
Becoming a kinect hacker innovator v2
The power of Kinect in 10 minutes
IEEE VR-SEARIS 2014 Keynote - MiddleVR - Philosophy and architecture
Kinect seminar 121201v1(동영상x)
Visug: Say Hello to my little friend: a session on Kinect
Gam02 kinect1, kinect2
Computer Vision Meetup March: How we built snapscreen
Lidnug Presentation - Kinect - The How, Were and When of developing with it
Community Day 2013 - The Power of Kinect
Using intel's real sense to create games with natural user interfaces justi...

Recently uploaded (20)

PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Empathic Computing: Creating Shared Understanding
PDF
cuic standard and advanced reporting.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
sap open course for s4hana steps from ECC to s4
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
Spectroscopy.pptx food analysis technology
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Machine learning based COVID-19 study performance prediction
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
NewMind AI Weekly Chronicles - August'25 Week I
Network Security Unit 5.pdf for BCA BBA.
Unlocking AI with Model Context Protocol (MCP)
Understanding_Digital_Forensics_Presentation.pptx
Mobile App Security Testing_ A Comprehensive Guide.pdf
Building Integrated photovoltaic BIPV_UPV.pdf
Chapter 3 Spatial Domain Image Processing.pdf
Empathic Computing: Creating Shared Understanding
cuic standard and advanced reporting.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
Digital-Transformation-Roadmap-for-Companies.pptx
sap open course for s4hana steps from ECC to s4
MYSQL Presentation for SQL database connectivity
Spectroscopy.pptx food analysis technology
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
The AUB Centre for AI in Media Proposal.docx
Machine learning based COVID-19 study performance prediction
“AI and Expert System Decision Support & Business Intelligence Systems”

Kinect for Windows Quickstart Series

  • 1. QUICKSTART SERIES KINECT FOR WINDOWS
  • 2. INSTALLING & USING KINECT KINECT FOR WINDOWS
  • 3. INTRODUCTION • Designed to get you started • Assume you have some programming experience • Managed API - Concepts work in both VB/C# KINECT FOR WINDOWS
  • 4. QUICKSTART SERIES • Installing and Using the Kinect Sensor • Setting up your Development Environment • Camera Fundamentals • Working with Depth Data • Skeletal Tracking Fundamentals • Audio Fundamentals KINECT FOR WINDOWS
  • 5. KINECT SENSORS IR Emitter Color Sensor IR Depth Sensor Tilt Motor Microphone Array KINECT FOR WINDOWS
  • 6. GET STARTED • http://kinectforwindows.org • Order Kinect Hardware • Download Kinect SDK KINECT FOR WINDOWS
  • 7. INSTALLING AND USING KINECT DEMO KINECT FOR WINDOWS
  • 9. QUICKSTART SERIES • Installing and Using the Kinect Sensor • Setting up your Development Environment • Camera Fundamentals • Working with Depth Data • Skeletal Tracking Fundamentals • Audio Fundamentals KINECT FOR WINDOWS
  • 10. KINECT API BASICS • Manage Kinect state • Connected • Enable Color, Depth, Skeleton • Start Kinect • Get Data • Events - AllFramesReady • Polling – OpenNextFrame KINECT FOR WINDOWS
  • 11. RESOURCES • Install Kinect Explorer • KinectWpfViewers • Coding4Fun Toolkit • Skeletal scaling KINECT FOR WINDOWS
  • 12. SETTING UP YOUR DEV ENVIRONMENT DEMO KINECT FOR WINDOWS
  • 13. CAMERA FUNDAMENTALS KINECT FOR WINDOWS
  • 14. QUICKSTART SERIES • Installing and Using the Kinect Sensor • Setting up your Development Environment • Camera Fundamentals • Working with Depth Data • Skeletal Tracking Fundamentals • Audio Fundamentals KINECT FOR WINDOWS
  • 15. CAMERA DATA • Events return ImageFrame • PixelDataLength • FrameNumber • Timestamp • Dimensions: Height, Width • Use AllFramesReady event to synchronize KINECT FOR WINDOWS
  • 16. RESOLUTIONS • Color • 12 FPS: 1280X960 RGB • 15 FPS: Raw YUV 640x480 • 30 FPS: 640x480 • Depth • 30 FPS: 80x60, 320x240, 640x480 KINECT FOR WINDOWS
  • 17. CAMERA FUNDAMENTALS DEMO KINECT FOR WINDOWS
  • 18. WORKING WITH DEPTH DATA KINECT FOR WINDOWS
  • 19. QUICKSTART SERIES • Installing and Using the Kinect Sensor • Setting up your Development Environment • Camera Fundamentals • Working with Depth Data • Skeletal Tracking Fundamentals • Audio Fundamentals KINECT FOR WINDOWS
  • 20. DEPTH DATA • Returns the distance and player for every pixel • Ex: 320x240 = 76,800 pixels • Distance • Distance in mm from Kinect ex: 2,000mm (6.56 feet) • Player • 1-6 players KINECT FOR WINDOWS
  • 21. MODE Mode Depth & Player Center Hip Joint Other 19 Joints Default Yes Yes Yes Near Yes Yes No, for v1.0 KINECT FOR WINDOWS
  • 22. DISTANCES Feet 1.3’ 2.6’ 9.8’ 13.1’ 26.2’ Meters .4 .8 3 4 8 Default Mode Near Mode KINECT FOR WINDOWS
  • 23. FORMULAS • Distance Formula int depth = depthPoint >> DepthImageFrame.PlayerIndexBitmaskWidth; • Player Formula int player = depthPoint & DepthImageFrame.PlayerIndexBitmask; KINECT FOR WINDOWS
  • 24. WORKING WITH DEPTH DATA DEMO KINECT FOR WINDOWS
  • 25. SKELETAL TRACKING FUNDAMENTALS KINECT FOR WINDOWS
  • 26. QUICKSTART SERIES • Installing and Using the Kinect Sensor • Setting up your Development Environment • Camera Fundamentals • Working with Depth Data • Skeletal Tracking Fundamentals • Audio Fundamentals KINECT FOR WINDOWS
  • 27. SKELETON DATA KINECT FOR WINDOWS
  • 28. SKELETAL JOINTS • 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 • Use TransformSmoothParameters to smooth joint data to reduce jitter KINECT FOR WINDOWS
  • 29. SKELETAL TRACKING • Maximum two players tracked at once • Six player proposals per Kinect • Each skeleton has a unique identifier - TrackingID • SkeletonStream • Set AppChoosesSkeletons to false • Use ChooseSkeletons method to choose which skeletons to track KINECT FOR WINDOWS
  • 30. SKELETAL TRACKING DEMO KINECT FOR WINDOWS
  • 31. AUDIO FUNDAMENTALS KINECT FOR WINDOWS
  • 32. QUICKSTART SERIES • Installing and Using the Kinect Sensor • Setting up your Development Environment • Camera Fundamentals • Working with Depth Data • Skeletal Tracking Fundamentals • Audio Fundamentals KINECT FOR WINDOWS
  • 33. SOUND POSITION • Sound Source Angle – the angle and confidence level of where audio is coming from • Beam Angle – The angle used to record audio that you can set as a “directional microphone” -50 0 +50 KINECT FOR WINDOWS
  • 34. RECORDING • KinectAudioSource audio buffer • Use Echo Cancellation to not record PC sound KINECT FOR WINDOWS
  • 35. SPEECH RECOGNITION • Grammar – What we are listening for • Code – GrammarBuilder, Choices • Note: Ensure AutomaticGainControl = false KINECT FOR WINDOWS
  • 36. GRAMMAR <!-- Confirmation_Yes._value: string ["Yes"] --> <rule id="Confirmation_Yes" scope="public"> <example> yes </example> var grammar = new Choices(); <example> yes please </example> grammar.Add(“yes please"); <one-of> <item> yes </item> grammar.Add(“yes"); <item> yeah </item> grammar.Add(“yeah"); <item> yep </item> grammar.Add(“ok"); <item> ok </item> </one-of> <item repeat="0-1"> please </item> <tag> out._value = "Yes";</tag> KINECT FOR WINDOWS
  • 37. MULTI-MODAL FEEDBACK • Engagement model – Mic indicator for speech-enabled menus – Keyword to engage • Feedback and confirmation KINECT FOR WINDOWS
  • 38. AUDIO DEMO KINECT FOR WINDOWS