SlideShare ist ein Scribd-Unternehmen logo
1 von 31
Get Moving!
Reading Kinect data from Actionscript
Kinect



   ๏ By Microsoft. Previously Natal.

   ๏ Sold to be used with the XBox.

   ๏ "Controller-free gaming and
     entertainment experience"
You don’t have to buy a XBox to do any of the
stuff shown here. You can buy the camera on its
own for about NZ$200.
1   Sensors
Kinect Sensor(s)

  “The Kinect sensor is a horizontal bar connected to a small base with
  a motorized pivot and is designed to be positioned lengthwise above
  or below the video display. The device features an "RGB camera,
  depth sensor and multi-array microphone running proprietary
  software", which provide full-body 3D motion capture, facial
  recognition and voice recognition capabilities.

  The depth sensor consists of an infrared laser projector combined
  with a monochrome CMOS sensor, which captures video data in 3D
  under any ambient light conditions. The sensing range of the depth
  sensor is adjustable“


              Source: http://en.wikipedia.org/wiki/Kinect
Demo!
(CocoaKinect)
Sensors
                                                            Depth magic chip
                                                             (data stream)




                       Infrared Laser
                          Projector
                                                                      Image chip
                                        RGB Camera                  (video stream)

                                                Infrared Camera




     Multi-array mic

                                           Motorised tilt
Sensors, #1 RGB


                                Image chip


                                                          480

                             @ 30 frames/sec
 ๏ The RBG camera can be
   used for recording              640


   video and assist with   Horizontal field of view: 57º
                            Vertical field of view: 43º
                             Physical tilt range: 27º
   tasks such as facial
   recognition.
Sensors, #2 Depth
๏ Project a pattern of dots with a near
  infrared laser over the scene. A
  detector establishes the parallax shift    Depth magic chip

  of the dot pattern for each pixel.                               480

                                            12 bits (Data Array)
                                             @ 30 frames/sec


                                                  640
                                            Range: 1.2m -3.5 m
Depth. Uh?
 Depth computed by comparing distance between             Image 1
 (uniquely identifiable) dot in image 1 and image 2.
 The more distant, the more depth.
                                                            Magic Algorithm generates the pattern of dots
                                                            that will be sent by the Infrared projector.

                                                            In a sense a virtual image.




                                                          Image 2

                                                           Infrared camera




                                                          Depth magic chip




                           Stereo Image from: http://gigantico.squarespace.com/
                            336554365346/2007/6/21/virtual-reality-part-1.html
Sensors, #3 Infrared


                                          Image chip


                                                        480

                                      @ 30 frames/sec

   ๏ Images from the random
     dot pattern projected by               640


     the near-infrared laser.
   ๏ Switch off other infrared sources
     (hallogen, sun light) to see them.
Sensors, #4 Voice

                                      16 bits
                                     @ 16kHz




          Not covered in this talk
2   Open Kinect
OpenKinect
BW + RGB images

  ๏ By default, provides depth
    information as an RGB
    image. Each color represents
    a layer of depth.               Red = close, blue = far away


  ๏ Good for Flash. Flash is good
    with picture but doesn’t
    excel at looping through
    numbers.
Demo!
(Isometric Depth)
Demo
  ๏ Modified as3 server

   • video2rgba: rbg to rgba mapping
     (prefixing with 0xFF for alpha).
   • depth2heatmap : depth to rgba
     mapping.
   • depth2grayscale : depth to grayscale
     mapping, a scale from 0...2048 is
     reduced to one of 0...255.
   •
Resolution vs meters

  ๏ The depth data provided by kinect follow
    some logarithmic curve :
     • High resolution in the middle, low res
       close and far away from the camera
  ๏ A linear estimate, in centimeters, can be
    computed with:
       0.1236 * tan(rawDisparity / 2842.5 + 1.1863)
        http://openkinect.org/w/index.php?title=Imaging_Information
Info / Resources
3   Tuio Kinect
Hands tracking



  ๏ TuioKinect tracks simple hand gestures
    using the Kinect controller and sends
    control data based on the TUIO protocol.
    This allows the rapid creation of gesture
    enabled applications
Demo!
Using TUIO from AS




     https://github.com/silviopaganini/openKinect-as3-experiments


                         Documentation, Parameters

                                                                Note: getting 0 for
                                                                z or Z in current
                                                                implementation.



       http://nuigroup.com/?ACT=28&fid=33&aid=703_FKSuKMcUkTAJrwBGk2Qv
Demo!
(Musical Hands)
4   Advanced
Body-Pose
 ๏ What MS uses for his games is Machine
   Learning
   “The idea was that we would teach the computer with lots of
   different people of lots of different shapes and sizes in lots of
   different poses and the computer will learn how to
   distinguish one part of your body from another part,” he said.
   Since the Kinect camera includes depth information, it can
   distinguish between big people a long way away and small
   people up close.”
               http://blogs.wsj.com/tech-europe/2010/11/08/key-
                   kinect-technology-devised-in-cambridge-lab/



                         For publicly available methods:
                 http://openkinect.org/wiki/Research_Material
Skeleton


                 http://www.openni.org/downloadfiles/

            http://www.keyboardmods.com/2010/12/howto-
                    kinect-openninite-skeleton.html




           http://www.freenect.com/kinect-skeleton-detection-
                           work-in-progress

           http://www.modmykinect.com/2010/11/29/skeleton-
                          detection-part-2/
Frame differencing




           http://actionsnippet.com/?p=2820
Blob Detection
UX
That’s it, folks!

Weitere ähnliche Inhalte

Was ist angesagt?

2 track kinect@Bicocca - hardware e funzinamento
2   track kinect@Bicocca - hardware e funzinamento2   track kinect@Bicocca - hardware e funzinamento
2 track kinect@Bicocca - hardware e funzinamento
Matteo Valoriani
 
Final_draft_Practice_School_II_report
Final_draft_Practice_School_II_reportFinal_draft_Practice_School_II_report
Final_draft_Practice_School_II_report
Rishikesh Bagwe
 
Enhanced Computer Vision with Microsoft Kinect Sensor: A Review
Enhanced Computer Vision with Microsoft Kinect Sensor: A ReviewEnhanced Computer Vision with Microsoft Kinect Sensor: A Review
Enhanced Computer Vision with Microsoft Kinect Sensor: A Review
Abu Saleh Musa
 

Was ist angesagt? (20)

Kinect2 hands on
Kinect2 hands onKinect2 hands on
Kinect2 hands on
 
Human interface guidelines_v1.8.0
Human interface guidelines_v1.8.0Human interface guidelines_v1.8.0
Human interface guidelines_v1.8.0
 
Programming with kinect v2
Programming with kinect v2Programming with kinect v2
Programming with kinect 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
 
Kinect for Windows SDK - Programming Guide
Kinect for Windows SDK - Programming GuideKinect for Windows SDK - Programming Guide
Kinect for Windows SDK - Programming Guide
 
2 track kinect@Bicocca - hardware e funzinamento
2   track kinect@Bicocca - hardware e funzinamento2   track kinect@Bicocca - hardware e funzinamento
2 track kinect@Bicocca - hardware e funzinamento
 
Raskar Mar09 Nesosa
Raskar Mar09 NesosaRaskar Mar09 Nesosa
Raskar Mar09 Nesosa
 
Kinect Tutorial
Kinect Tutorial Kinect Tutorial
Kinect Tutorial
 
Virtual reality and its Types
Virtual reality and its TypesVirtual reality and its Types
Virtual reality and its Types
 
Kinect Hacks for Dummies
Kinect Hacks for DummiesKinect Hacks for Dummies
Kinect Hacks for Dummies
 
How Augment your Reality: Different perspective on the Reality / Virtuality C...
How Augment your Reality: Different perspective on the Reality / Virtuality C...How Augment your Reality: Different perspective on the Reality / Virtuality C...
How Augment your Reality: Different perspective on the Reality / Virtuality C...
 
Final_draft_Practice_School_II_report
Final_draft_Practice_School_II_reportFinal_draft_Practice_School_II_report
Final_draft_Practice_School_II_report
 
Momentum
MomentumMomentum
Momentum
 
Enhanced Computer Vision with Microsoft Kinect Sensor: A Review
Enhanced Computer Vision with Microsoft Kinect Sensor: A ReviewEnhanced Computer Vision with Microsoft Kinect Sensor: A Review
Enhanced Computer Vision with Microsoft Kinect Sensor: A Review
 
Introduction to Kinect v2
Introduction to Kinect v2Introduction to Kinect v2
Introduction to Kinect v2
 
Kinect connect
Kinect connectKinect connect
Kinect connect
 
Kinect v2 Introduction and Tutorial
Kinect v2 Introduction and TutorialKinect v2 Introduction and Tutorial
Kinect v2 Introduction and Tutorial
 
Kinect for Xbox 360: the world's first viral 3D technology
Kinect for Xbox 360: the world's first viral 3D technologyKinect for Xbox 360: the world's first viral 3D technology
Kinect for Xbox 360: the world's first viral 3D technology
 
Odessa .NET User Group - Kinect v2
Odessa .NET User Group - Kinect v2Odessa .NET User Group - Kinect v2
Odessa .NET User Group - Kinect v2
 
Nui e biometrics in windows 10
Nui e biometrics in windows 10Nui e biometrics in windows 10
Nui e biometrics in windows 10
 

Ähnlich wie Getmoving as3kinect

Interactive full body motion capture using infrared sensor network
Interactive full body motion capture using infrared sensor networkInteractive full body motion capture using infrared sensor network
Interactive full body motion capture using infrared sensor network
ijcga
 
Interactive Full-Body Motion Capture Using Infrared Sensor Network
Interactive Full-Body Motion Capture Using Infrared Sensor Network  Interactive Full-Body Motion Capture Using Infrared Sensor Network
Interactive Full-Body Motion Capture Using Infrared Sensor Network
ijcga
 
Gam02 kinect1, kinect2
Gam02   kinect1, kinect2Gam02   kinect1, kinect2
Gam02 kinect1, kinect2
DotNetCampus
 
My cool new Slideshow!
My cool new Slideshow!My cool new Slideshow!
My cool new Slideshow!
netzwelt12345
 

Ähnlich wie Getmoving as3kinect (20)

Developing For Kinect For Windows
Developing For Kinect For WindowsDeveloping For Kinect For Windows
Developing For Kinect For Windows
 
Kinect
KinectKinect
Kinect
 
Exergaming - Technology and beyond
Exergaming - Technology and beyondExergaming - Technology and beyond
Exergaming - Technology and beyond
 
Kinect
KinectKinect
Kinect
 
"High-resolution 3D Reconstruction on a Mobile Processor," a Presentation fro...
"High-resolution 3D Reconstruction on a Mobile Processor," a Presentation fro..."High-resolution 3D Reconstruction on a Mobile Processor," a Presentation fro...
"High-resolution 3D Reconstruction on a Mobile Processor," a Presentation fro...
 
Aru pup
Aru pupAru pup
Aru pup
 
Dataset creation for Deep Learning-based Geometric Computer Vision problems
Dataset creation for Deep Learning-based Geometric Computer Vision problemsDataset creation for Deep Learning-based Geometric Computer Vision problems
Dataset creation for Deep Learning-based Geometric Computer Vision problems
 
3D Workshop
3D Workshop3D Workshop
3D Workshop
 
Interactive full body motion capture using infrared sensor network
Interactive full body motion capture using infrared sensor networkInteractive full body motion capture using infrared sensor network
Interactive full body motion capture using infrared sensor network
 
To Design and Develop Intelligent Exercise System
To Design and Develop Intelligent Exercise SystemTo Design and Develop Intelligent Exercise System
To Design and Develop Intelligent Exercise System
 
Interactive Full-Body Motion Capture Using Infrared Sensor Network
Interactive Full-Body Motion Capture Using Infrared Sensor Network  Interactive Full-Body Motion Capture Using Infrared Sensor Network
Interactive Full-Body Motion Capture Using Infrared Sensor Network
 
Introduction to Virtual Reality
Introduction to Virtual RealityIntroduction to Virtual Reality
Introduction to Virtual Reality
 
Robot
RobotRobot
Robot
 
Gam02 kinect1, kinect2
Gam02   kinect1, kinect2Gam02   kinect1, kinect2
Gam02 kinect1, kinect2
 
Ppt
PptPpt
Ppt
 
Kinect krishna kumar-itkan
Kinect krishna kumar-itkanKinect krishna kumar-itkan
Kinect krishna kumar-itkan
 
Test Presentation
Test PresentationTest Presentation
Test Presentation
 
My cool new Slideshow!
My cool new Slideshow!My cool new Slideshow!
My cool new Slideshow!
 
Sensor based interaction
Sensor based interaction Sensor based interaction
Sensor based interaction
 
Motion capture by Rj
Motion capture by RjMotion capture by Rj
Motion capture by Rj
 

Kürzlich hochgeladen

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Kürzlich hochgeladen (20)

MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 

Getmoving as3kinect

  • 1. Get Moving! Reading Kinect data from Actionscript
  • 2. Kinect ๏ By Microsoft. Previously Natal. ๏ Sold to be used with the XBox. ๏ "Controller-free gaming and entertainment experience"
  • 3. You don’t have to buy a XBox to do any of the stuff shown here. You can buy the camera on its own for about NZ$200.
  • 4. 1 Sensors
  • 5. Kinect Sensor(s) “The Kinect sensor is a horizontal bar connected to a small base with a motorized pivot and is designed to be positioned lengthwise above or below the video display. The device features an "RGB camera, depth sensor and multi-array microphone running proprietary software", which provide full-body 3D motion capture, facial recognition and voice recognition capabilities. The depth sensor consists of an infrared laser projector combined with a monochrome CMOS sensor, which captures video data in 3D under any ambient light conditions. The sensing range of the depth sensor is adjustable“ Source: http://en.wikipedia.org/wiki/Kinect
  • 7. Sensors Depth magic chip (data stream) Infrared Laser Projector Image chip RGB Camera (video stream) Infrared Camera Multi-array mic Motorised tilt
  • 8. Sensors, #1 RGB Image chip 480 @ 30 frames/sec ๏ The RBG camera can be used for recording 640 video and assist with Horizontal field of view: 57º Vertical field of view: 43º Physical tilt range: 27º tasks such as facial recognition.
  • 9. Sensors, #2 Depth ๏ Project a pattern of dots with a near infrared laser over the scene. A detector establishes the parallax shift Depth magic chip of the dot pattern for each pixel. 480 12 bits (Data Array) @ 30 frames/sec 640 Range: 1.2m -3.5 m
  • 10. Depth. Uh? Depth computed by comparing distance between Image 1 (uniquely identifiable) dot in image 1 and image 2. The more distant, the more depth. Magic Algorithm generates the pattern of dots that will be sent by the Infrared projector. In a sense a virtual image. Image 2 Infrared camera Depth magic chip Stereo Image from: http://gigantico.squarespace.com/ 336554365346/2007/6/21/virtual-reality-part-1.html
  • 11. Sensors, #3 Infrared Image chip 480 @ 30 frames/sec ๏ Images from the random dot pattern projected by 640 the near-infrared laser. ๏ Switch off other infrared sources (hallogen, sun light) to see them.
  • 12. Sensors, #4 Voice 16 bits @ 16kHz Not covered in this talk
  • 13. 2 Open Kinect
  • 15. BW + RGB images ๏ By default, provides depth information as an RGB image. Each color represents a layer of depth. Red = close, blue = far away ๏ Good for Flash. Flash is good with picture but doesn’t excel at looping through numbers.
  • 17. Demo ๏ Modified as3 server • video2rgba: rbg to rgba mapping (prefixing with 0xFF for alpha). • depth2heatmap : depth to rgba mapping. • depth2grayscale : depth to grayscale mapping, a scale from 0...2048 is reduced to one of 0...255. •
  • 18. Resolution vs meters ๏ The depth data provided by kinect follow some logarithmic curve : • High resolution in the middle, low res close and far away from the camera ๏ A linear estimate, in centimeters, can be computed with: 0.1236 * tan(rawDisparity / 2842.5 + 1.1863) http://openkinect.org/w/index.php?title=Imaging_Information
  • 20. 3 Tuio Kinect
  • 21. Hands tracking ๏ TuioKinect tracks simple hand gestures using the Kinect controller and sends control data based on the TUIO protocol. This allows the rapid creation of gesture enabled applications
  • 22. Demo!
  • 23. Using TUIO from AS https://github.com/silviopaganini/openKinect-as3-experiments Documentation, Parameters Note: getting 0 for z or Z in current implementation. http://nuigroup.com/?ACT=28&fid=33&aid=703_FKSuKMcUkTAJrwBGk2Qv
  • 25. 4 Advanced
  • 26. Body-Pose ๏ What MS uses for his games is Machine Learning “The idea was that we would teach the computer with lots of different people of lots of different shapes and sizes in lots of different poses and the computer will learn how to distinguish one part of your body from another part,” he said. Since the Kinect camera includes depth information, it can distinguish between big people a long way away and small people up close.” http://blogs.wsj.com/tech-europe/2010/11/08/key- kinect-technology-devised-in-cambridge-lab/ For publicly available methods: http://openkinect.org/wiki/Research_Material
  • 27. Skeleton http://www.openni.org/downloadfiles/ http://www.keyboardmods.com/2010/12/howto- kinect-openninite-skeleton.html http://www.freenect.com/kinect-skeleton-detection- work-in-progress http://www.modmykinect.com/2010/11/29/skeleton- detection-part-2/
  • 28. Frame differencing http://actionsnippet.com/?p=2820
  • 30. UX

Hinweis der Redaktion

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. \n
  14. \n
  15. \n
  16. \n
  17. \n
  18. \n
  19. \n
  20. \n
  21. \n
  22. \n
  23. \n
  24. \n
  25. \n
  26. \n
  27. \n
  28. \n
  29. \n
  30. \n
  31. \n