SlideShare a Scribd company logo
OPEN FRAMEWORKS +
                            KINECT PART IV

                               @GAFFTA




Thursday, March 14, 13
Skeleton tracking with the Kinect




    So far this class has used kinect in several ways:

    Open CV + Contour Finder for blobs

    Point Cloud to visualize the raw 3D data




Thursday, March 14, 13
Skeleton tracking with the Kinect
    But one of the more exciting possibilities is user or skeleton
    tracking.




Thursday, March 14, 13
How does it work ?
    Images are tagged and colored to represent portions of a
    persons body.




    A large data set ( very large , like millions of tagged images )
    are fed into a large computing cluster


    The cluster then actively learns ( hence why it’s called
    machine learning ) and the algorithm can be applied to a live
    video stream to extract the appropriate data.
Thursday, March 14, 13
How does it work ?
    This is why the user is always first removed or separated
    from the scene so the machine learning can ignore
    unimportant pixel data.




Thursday, March 14, 13
How do I use Skeleton Tracking ?


    Skeleton tracking if often implemented by something called a
    “middleware” - a layer of software between the OS and
    your application to interface with your camera device
    ( kinect )



    Luckily there are lots of middleware options to implement
    an application using skeleton tracking depending on your
    camera.




Thursday, March 14, 13
Kinect for Windows SDK

    One of the more stable, publicly available middlewares.
    Works exclusively with both kinect models.
    Includes skeleton tracking, seated skeleton, facial mesh
    tracking, directional microphone access. But is Windows
    Only.




Thursday, March 14, 13
SoftKinetic IISU ( interface is you )

    Very robust and versatile platform. Works with 4 different
    camera manufacturers. Very robust toolbox and low level API
    in c#, c++, unity3d, flash. Also the most expensive middleware.
    Includes skeleton tracking, cursors, volumetric, close range
    interaction ( including fingers and grasping )




Thursday, March 14, 13
Omek

    One of the lesser developed middlewares. Works with PMD
    and Panasonic devices. The “Grasp” close range SDK which
    is in beta looks very promising.
    Omek ‘long range’ is more geared towards gaming and 1-2
    skeleton tracking.




Thursday, March 14, 13
OpenNI
   OpenNI is maintained by prime sense, who developed the technology
   behind the first Kinect. OpenNI is a very big larger scale project for
   modular gesture reconition systems. The ones we will focus on are
   OpenNI + NITE Skeleton Tracking. OpenNI is open source, and is
   supported by all primesense devices, the kinect for XBOX, and even
   the Panasonic D-Imager.
   Includes access for finding cursors ( high detail controllers ) and for
   full skeleton tracking.




Thursday, March 14, 13
Quick git setup ( OS X )
   In Xcode make sure you have Command Line Tools installed




   Then head over to homebrew : http://mxcl.github.com/homebrew/
   and use the terminal to install it
                         ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"




   then all you need is to add ‘brew install git’ and you’re done !
   https://help.github.com/articles/set-up-git can help with the rest.

Thursday, March 14, 13
Open Sound Control Networking

    Open Sound Control or OSC is a standard developed to send
    data from one application or device to another. It’s the new MIDI ,
    but awesomer and wireless.

    Open Frameworks natively supports OSC with it’s core addon
    ‘ofxOsc’

    One of the benefits of OSC over say : TCP or UDP is that OSC is
    broadcast and listener based.Your applications don’t need to first
    establish a handshake. If both are on the same internet and
    listening on the same port they can communicate to each other.

    OSC also natively wraps data types like strings, and floats. So you
    don’t have to parse raw bytes of data.


Thursday, March 14, 13
Sending Skeleton Data over OSC

    Splits up computing power between apps. Easy to send basic data
    sets between applications.




Thursday, March 14, 13

More Related Content

Similar to Hacking the Kinect with GAFFTA Day 4

Vipul divyanshu documentation on Kinect and Motion Tracking
Vipul divyanshu documentation  on Kinect and Motion TrackingVipul divyanshu documentation  on Kinect and Motion Tracking
Vipul divyanshu documentation on Kinect and Motion TrackingVipul Divyanshu
 
IoTivity for Automotive IoT Interoperability
IoTivity for Automotive IoT InteroperabilityIoTivity for Automotive IoT Interoperability
IoTivity for Automotive IoT Interoperability
Samsung Open Source Group
 
Obj report
Obj reportObj report
Obj report
Manish Raghav
 
Theeye tribe, it s a eye tracking device which makes the usage of PC, laptops...
Theeye tribe, it s a eye tracking device which makes the usage of PC, laptops...Theeye tribe, it s a eye tracking device which makes the usage of PC, laptops...
Theeye tribe, it s a eye tracking device which makes the usage of PC, laptops...
Prajs Ks
 
IntelNTU PDF
IntelNTU PDFIntelNTU PDF
IntelNTU PDFJosh Shih
 
sixth sense technology.pdf
sixth sense technology.pdfsixth sense technology.pdf
sixth sense technology.pdf
gopika1official
 
International Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentInternational Journal of Engineering Research and Development
International Journal of Engineering Research and Development
IJERD Editor
 
Unity XR platform has a new architecture – Unite Copenhagen 2019
Unity XR platform has a new architecture – Unite Copenhagen 2019Unity XR platform has a new architecture – Unite Copenhagen 2019
Unity XR platform has a new architecture – Unite Copenhagen 2019
Unity Technologies
 
Iirdem design and implementation of finger writing in air by using open cv (c...
Iirdem design and implementation of finger writing in air by using open cv (c...Iirdem design and implementation of finger writing in air by using open cv (c...
Iirdem design and implementation of finger writing in air by using open cv (c...
Iaetsd Iaetsd
 
Intelligent Embedded Systems (Robotics)
Intelligent Embedded Systems (Robotics)Intelligent Embedded Systems (Robotics)
Intelligent Embedded Systems (Robotics)Adeyemi Fowe
 
Augmenta
AugmentaAugmenta
Security: The Value of SBOMs
Security: The Value of SBOMsSecurity: The Value of SBOMs
Security: The Value of SBOMs
Weaveworks
 
Node-RED Interoperability Test
Node-RED Interoperability TestNode-RED Interoperability Test
Node-RED Interoperability Test
Boris Adryan
 
Audio Steganography java project
Audio Steganography java projectAudio Steganography java project
Audio Steganography java project
Tutorial Learners
 
Basics of tcp ip
Basics of tcp ipBasics of tcp ip
Basics of tcp ipKumar
 
Worldkit System
Worldkit SystemWorldkit System
Worldkit System
akash relan
 
Tangible Public Map
Tangible Public MapTangible Public Map
Tangible Public Map
Suharsh L
 

Similar to Hacking the Kinect with GAFFTA Day 4 (20)

Vipul divyanshu documentation on Kinect and Motion Tracking
Vipul divyanshu documentation  on Kinect and Motion TrackingVipul divyanshu documentation  on Kinect and Motion Tracking
Vipul divyanshu documentation on Kinect and Motion Tracking
 
IoTivity for Automotive IoT Interoperability
IoTivity for Automotive IoT InteroperabilityIoTivity for Automotive IoT Interoperability
IoTivity for Automotive IoT Interoperability
 
Obj report
Obj reportObj report
Obj report
 
Theeye tribe, it s a eye tracking device which makes the usage of PC, laptops...
Theeye tribe, it s a eye tracking device which makes the usage of PC, laptops...Theeye tribe, it s a eye tracking device which makes the usage of PC, laptops...
Theeye tribe, it s a eye tracking device which makes the usage of PC, laptops...
 
IntelNTU PDF
IntelNTU PDFIntelNTU PDF
IntelNTU PDF
 
sixth sense technology.pdf
sixth sense technology.pdfsixth sense technology.pdf
sixth sense technology.pdf
 
International Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentInternational Journal of Engineering Research and Development
International Journal of Engineering Research and Development
 
Alvaro Denis Resume
Alvaro Denis ResumeAlvaro Denis Resume
Alvaro Denis Resume
 
Unity XR platform has a new architecture – Unite Copenhagen 2019
Unity XR platform has a new architecture – Unite Copenhagen 2019Unity XR platform has a new architecture – Unite Copenhagen 2019
Unity XR platform has a new architecture – Unite Copenhagen 2019
 
Iirdem design and implementation of finger writing in air by using open cv (c...
Iirdem design and implementation of finger writing in air by using open cv (c...Iirdem design and implementation of finger writing in air by using open cv (c...
Iirdem design and implementation of finger writing in air by using open cv (c...
 
Intelligent Embedded Systems (Robotics)
Intelligent Embedded Systems (Robotics)Intelligent Embedded Systems (Robotics)
Intelligent Embedded Systems (Robotics)
 
Augmenta
AugmentaAugmenta
Augmenta
 
Security: The Value of SBOMs
Security: The Value of SBOMsSecurity: The Value of SBOMs
Security: The Value of SBOMs
 
Node-RED Interoperability Test
Node-RED Interoperability TestNode-RED Interoperability Test
Node-RED Interoperability Test
 
Audio Steganography java project
Audio Steganography java projectAudio Steganography java project
Audio Steganography java project
 
Routing_Article
Routing_ArticleRouting_Article
Routing_Article
 
Basics of tcp ip
Basics of tcp ipBasics of tcp ip
Basics of tcp ip
 
Worldkit System
Worldkit SystemWorldkit System
Worldkit System
 
Tangible Public Map
Tangible Public MapTangible Public Map
Tangible Public Map
 
cv-guegant-jean
cv-guegant-jeancv-guegant-jean
cv-guegant-jean
 

Recently uploaded

Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
Elena Simperl
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Tobias Schneck
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Product School
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
Product School
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
Product School
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
Paul Groth
 

Recently uploaded (20)

Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 

Hacking the Kinect with GAFFTA Day 4

  • 1. OPEN FRAMEWORKS + KINECT PART IV @GAFFTA Thursday, March 14, 13
  • 2. Skeleton tracking with the Kinect So far this class has used kinect in several ways: Open CV + Contour Finder for blobs Point Cloud to visualize the raw 3D data Thursday, March 14, 13
  • 3. Skeleton tracking with the Kinect But one of the more exciting possibilities is user or skeleton tracking. Thursday, March 14, 13
  • 4. How does it work ? Images are tagged and colored to represent portions of a persons body. A large data set ( very large , like millions of tagged images ) are fed into a large computing cluster The cluster then actively learns ( hence why it’s called machine learning ) and the algorithm can be applied to a live video stream to extract the appropriate data. Thursday, March 14, 13
  • 5. How does it work ? This is why the user is always first removed or separated from the scene so the machine learning can ignore unimportant pixel data. Thursday, March 14, 13
  • 6. How do I use Skeleton Tracking ? Skeleton tracking if often implemented by something called a “middleware” - a layer of software between the OS and your application to interface with your camera device ( kinect ) Luckily there are lots of middleware options to implement an application using skeleton tracking depending on your camera. Thursday, March 14, 13
  • 7. Kinect for Windows SDK One of the more stable, publicly available middlewares. Works exclusively with both kinect models. Includes skeleton tracking, seated skeleton, facial mesh tracking, directional microphone access. But is Windows Only. Thursday, March 14, 13
  • 8. SoftKinetic IISU ( interface is you ) Very robust and versatile platform. Works with 4 different camera manufacturers. Very robust toolbox and low level API in c#, c++, unity3d, flash. Also the most expensive middleware. Includes skeleton tracking, cursors, volumetric, close range interaction ( including fingers and grasping ) Thursday, March 14, 13
  • 9. Omek One of the lesser developed middlewares. Works with PMD and Panasonic devices. The “Grasp” close range SDK which is in beta looks very promising. Omek ‘long range’ is more geared towards gaming and 1-2 skeleton tracking. Thursday, March 14, 13
  • 10. OpenNI OpenNI is maintained by prime sense, who developed the technology behind the first Kinect. OpenNI is a very big larger scale project for modular gesture reconition systems. The ones we will focus on are OpenNI + NITE Skeleton Tracking. OpenNI is open source, and is supported by all primesense devices, the kinect for XBOX, and even the Panasonic D-Imager. Includes access for finding cursors ( high detail controllers ) and for full skeleton tracking. Thursday, March 14, 13
  • 11. Quick git setup ( OS X ) In Xcode make sure you have Command Line Tools installed Then head over to homebrew : http://mxcl.github.com/homebrew/ and use the terminal to install it ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)" then all you need is to add ‘brew install git’ and you’re done ! https://help.github.com/articles/set-up-git can help with the rest. Thursday, March 14, 13
  • 12. Open Sound Control Networking Open Sound Control or OSC is a standard developed to send data from one application or device to another. It’s the new MIDI , but awesomer and wireless. Open Frameworks natively supports OSC with it’s core addon ‘ofxOsc’ One of the benefits of OSC over say : TCP or UDP is that OSC is broadcast and listener based.Your applications don’t need to first establish a handshake. If both are on the same internet and listening on the same port they can communicate to each other. OSC also natively wraps data types like strings, and floats. So you don’t have to parse raw bytes of data. Thursday, March 14, 13
  • 13. Sending Skeleton Data over OSC Splits up computing power between apps. Easy to send basic data sets between applications. Thursday, March 14, 13