SlideShare ist ein Scribd-Unternehmen logo
1 von 32
&
Greg - paris.rb - Juillet 2013
Hello, I’m Greg
@glejeune
R&D @
Le Leap Motion
• Produit de Leap Motion, inc (Ocuspec)
David Holz (NASA) et Michael Buckwald (Apple)
• Dévoilé en 2011 comme un «kinect
abordable»
• Précommande depuis mai 2012
• Livraison en juillet 2013
• Airspace™
• Asus et HP
Concurrents
• DUO (http://duo3d.com)
• Projet KickStarter (25/04 : USD 62,5k/110k)
(http://www.kickstarter.com/projects/codelabs/duo-the-worlds-first-diy-3d-sensor)
• DIY
• Avenir incertain
• Kinect
• Windows
• Vision, Mouvement,Vocal, ...
Développement
• En béta
• SDK C++
• Python, Java, C#,
Unity (via Swig)
• WebSocket
https://developer.leapmotion.com
~10000 développeurs
Fonctionnement
• 2 caméras
• 3 LED infrarouge
• Des maths
Principe
• système de coordonnées
cartésiennes fondé sur la
règle de la main droite
• Détection à une distance
comprise entre 25 à 600
mm
• Latence entre 5 et 33 ms
FPS: [200, 30]
Tracking
• Frame
• Data
• Hands
• Pointables
• Fingers
• Tools
• Gestures
Hand
Hand
Palm Position
Hand
Palm Normal
Hand
Direction
Hand
Vitesse (mm/s)
Hand
Sphere Center
Sphere Radius
Finger
Finger
Longueur
Finger
Direction
Finger
Position
Finger
Vitesse (mm/s)
Finger
Hand ID
Tool
Même propriétés que le doigt, mais avec
l’attribut isTool = true
Tool
Même propriétés que le doigt, mais avec
l’attribut isTool = true
Un outil est plus long qu’un doigt.
Gestures
swipe circle key taps screen taps
•Centre
•Rayon
•Normal
•Direction
•Start Position
•Position
•Vitesse
•Direction
•Position
•Direction
•Position
Status (start, update, stop), Hand ID, Pointable ID
ruby-leap-motion-ws
• Utilisation des WebSockets
• https://github.com/glejeune/ruby-leap-motion-ws
• Dépendances :
• JSON
• websocket-eventmachine-client
ruby-leap-motion-ws
• Utilisation des WebSockets
• https://github.com/glejeune/ruby-leap-motion-ws
• Dépendances :
• JSON
• websocket-eventmachine-client
• websocket
ruby-leap-motion-ws
class MyLeap < LEAP::Motion::WS
def on_frame(frame)
end
def on_connect
end
def on_disconnect
end
def on_error(message)
end
end
MyLeap.start(true)
ruby-leap-motion-ws
class MyLeap < LEAP::Motion::WS
def on_frame(frame)
end
def on_connect
end
def on_disconnect
end
def on_error(message)
end
end
MyLeap.start(true)
LEAP::Motion::WS::Frame
hands
# => [LEAP::Motion::WS::Hand]
gestures
# => [LEAP::Motion::WS::Gesture]
pointables
# => [LEAP::Motion::WS::Pointable]
ruby-leap-motion
• Utilise le SDK C++ (SWIG)
• https://github.com/glejeune/ruby-leap-motion
• Aucune dépendance
• WIP !!! WIP !!! WIP !!!
ruby-leap-motion
class MyListener < Leap::Motion::Listener
def on_init(controller)
end
def on_exit(controller)
end
def on_connect(controller)
end
def on_disconnect(controller)
end
def on_frame(controller)
end
def on_focus_lost(controller)
end
def on_focus_gained(controller)
end
end
ruby-leap-motion
listener = MyListener.new
controller = Leap::Motion::Controller.new
controller.add_listener listener
gone = gets
print gone
controller.remove_listener listener
LeapRuby et JLeap-NG
• https://github.com/tiegz/LeapRuby
• https://github.com/Neurogami/jleap-ng
• JRuby uniquement
• Utilisent l’API Java
(C++ → [SWIG] → Java → JRuby)
Demo

Weitere ähnliche Inhalte

Andere mochten auch

How to Become a Thought Leader in Your Niche
How to Become a Thought Leader in Your NicheHow to Become a Thought Leader in Your Niche
How to Become a Thought Leader in Your NicheLeslie Samuel
 
Retour d’expérience - Architecture MicroService chez BotsUnit
Retour d’expérience - Architecture MicroService chez BotsUnitRetour d’expérience - Architecture MicroService chez BotsUnit
Retour d’expérience - Architecture MicroService chez BotsUnitGregoire Lejeune
 
Health and Well-Being on the Social Web
Health and Well-Being on the Social WebHealth and Well-Being on the Social Web
Health and Well-Being on the Social Webron mader
 
DESIGN THE PRIORITY, PERFORMANCE 
AND UX
DESIGN THE PRIORITY, PERFORMANCE 
AND UXDESIGN THE PRIORITY, PERFORMANCE 
AND UX
DESIGN THE PRIORITY, PERFORMANCE 
AND UXPeter Rozek
 
Node.js and The Internet of Things
Node.js and The Internet of ThingsNode.js and The Internet of Things
Node.js and The Internet of ThingsLosant
 
How Much Further Will Internet Stocks Fall? (Share Price Performance)
How Much Further Will Internet Stocks Fall? (Share Price Performance)How Much Further Will Internet Stocks Fall? (Share Price Performance)
How Much Further Will Internet Stocks Fall? (Share Price Performance)Mahesh Vellanki
 
Net neutrality: The Basics
Net neutrality: The BasicsNet neutrality: The Basics
Net neutrality: The BasicsInterQuest Group
 
Finding Our Happy Place in the Internet of Things
Finding Our Happy Place in the Internet of ThingsFinding Our Happy Place in the Internet of Things
Finding Our Happy Place in the Internet of ThingsPamela Pavliscak
 
Internet of Things - The Tip of an Iceberg
Internet of Things - The Tip of an IcebergInternet of Things - The Tip of an Iceberg
Internet of Things - The Tip of an IcebergDr. Mazlan Abbas
 
Introduction to Development for the Internet
Introduction to Development for the InternetIntroduction to Development for the Internet
Introduction to Development for the InternetMike Crabb
 
Montreal Girl Geeks: Building the Modern Web
Montreal Girl Geeks: Building the Modern WebMontreal Girl Geeks: Building the Modern Web
Montreal Girl Geeks: Building the Modern WebRachel Andrew
 
Getting Information through HTML Forms
Getting Information through HTML FormsGetting Information through HTML Forms
Getting Information through HTML FormsMike Crabb
 
Nine Pages You Should Optimize on Your Blog and How
Nine Pages You Should Optimize on Your Blog and HowNine Pages You Should Optimize on Your Blog and How
Nine Pages You Should Optimize on Your Blog and HowLeslie Samuel
 
African Americans: College Majors and Earnings
African Americans: College Majors and Earnings African Americans: College Majors and Earnings
African Americans: College Majors and Earnings CEW Georgetown
 
The Online College Labor Market
The Online College Labor MarketThe Online College Labor Market
The Online College Labor MarketCEW Georgetown
 

Andere mochten auch (16)

How to Become a Thought Leader in Your Niche
How to Become a Thought Leader in Your NicheHow to Become a Thought Leader in Your Niche
How to Become a Thought Leader in Your Niche
 
Retour d’expérience - Architecture MicroService chez BotsUnit
Retour d’expérience - Architecture MicroService chez BotsUnitRetour d’expérience - Architecture MicroService chez BotsUnit
Retour d’expérience - Architecture MicroService chez BotsUnit
 
Health and Well-Being on the Social Web
Health and Well-Being on the Social WebHealth and Well-Being on the Social Web
Health and Well-Being on the Social Web
 
Valentine's Day
Valentine's DayValentine's Day
Valentine's Day
 
DESIGN THE PRIORITY, PERFORMANCE 
AND UX
DESIGN THE PRIORITY, PERFORMANCE 
AND UXDESIGN THE PRIORITY, PERFORMANCE 
AND UX
DESIGN THE PRIORITY, PERFORMANCE 
AND UX
 
Node.js and The Internet of Things
Node.js and The Internet of ThingsNode.js and The Internet of Things
Node.js and The Internet of Things
 
How Much Further Will Internet Stocks Fall? (Share Price Performance)
How Much Further Will Internet Stocks Fall? (Share Price Performance)How Much Further Will Internet Stocks Fall? (Share Price Performance)
How Much Further Will Internet Stocks Fall? (Share Price Performance)
 
Net neutrality: The Basics
Net neutrality: The BasicsNet neutrality: The Basics
Net neutrality: The Basics
 
Finding Our Happy Place in the Internet of Things
Finding Our Happy Place in the Internet of ThingsFinding Our Happy Place in the Internet of Things
Finding Our Happy Place in the Internet of Things
 
Internet of Things - The Tip of an Iceberg
Internet of Things - The Tip of an IcebergInternet of Things - The Tip of an Iceberg
Internet of Things - The Tip of an Iceberg
 
Introduction to Development for the Internet
Introduction to Development for the InternetIntroduction to Development for the Internet
Introduction to Development for the Internet
 
Montreal Girl Geeks: Building the Modern Web
Montreal Girl Geeks: Building the Modern WebMontreal Girl Geeks: Building the Modern Web
Montreal Girl Geeks: Building the Modern Web
 
Getting Information through HTML Forms
Getting Information through HTML FormsGetting Information through HTML Forms
Getting Information through HTML Forms
 
Nine Pages You Should Optimize on Your Blog and How
Nine Pages You Should Optimize on Your Blog and HowNine Pages You Should Optimize on Your Blog and How
Nine Pages You Should Optimize on Your Blog and How
 
African Americans: College Majors and Earnings
African Americans: College Majors and Earnings African Americans: College Majors and Earnings
African Americans: College Majors and Earnings
 
The Online College Labor Market
The Online College Labor MarketThe Online College Labor Market
The Online College Labor Market
 

Ähnlich wie Leap parisrb

Au coeur d'un projet Kinect innovant
Au coeur d'un projet Kinect innovantAu coeur d'un projet Kinect innovant
Au coeur d'un projet Kinect innovantMicrosoft
 
Kinect et Office365 : Un bon geste en faveur de votre SI
Kinect et Office365 : Un bon geste en faveur de votre SIKinect et Office365 : Un bon geste en faveur de votre SI
Kinect et Office365 : Un bon geste en faveur de votre SIFabrice BARBIN
 
Kinect + Office365 : Un bon geste en faveur de votre SI !
Kinect + Office365 : Un bon geste en faveur de votre SI ! Kinect + Office365 : Un bon geste en faveur de votre SI !
Kinect + Office365 : Un bon geste en faveur de votre SI ! Microsoft Technet France
 
La réalité mélangée dans vos applications
La réalité mélangée dans vos applicationsLa réalité mélangée dans vos applications
La réalité mélangée dans vos applicationsChristophe Villeneuve
 
Les nouveautés d'Unity 2018
Les nouveautés d'Unity 2018Les nouveautés d'Unity 2018
Les nouveautés d'Unity 2018Yannick Comte
 
Option Majeure design et Réalité Virtuelle
Option Majeure design et Réalité VirtuelleOption Majeure design et Réalité Virtuelle
Option Majeure design et Réalité Virtuellelecolededesign
 
Tech Conf n°1 - Développement natif d'applications mobiles
Tech Conf n°1 - Développement natif d'applications mobilesTech Conf n°1 - Développement natif d'applications mobiles
Tech Conf n°1 - Développement natif d'applications mobilesMichael Laguerre
 
Kinect pour les développeurs Web
Kinect pour les développeurs WebKinect pour les développeurs Web
Kinect pour les développeurs Webekino
 
Dev ops - Contiuous delivery
Dev ops - Contiuous deliveryDev ops - Contiuous delivery
Dev ops - Contiuous deliveryPatrice Ferlet
 
meetup devops aix-marseille 27/10/2022
meetup devops aix-marseille 27/10/2022meetup devops aix-marseille 27/10/2022
meetup devops aix-marseille 27/10/2022Frederic Leger
 
CES 2015 wrap up - Disrupt of Be Disrupted
CES 2015 wrap up - Disrupt of Be DisruptedCES 2015 wrap up - Disrupt of Be Disrupted
CES 2015 wrap up - Disrupt of Be DisruptedVidal Chriqui
 
Gab2019 Ihor leontiev Vincent Thavonekham ouverture
Gab2019 Ihor leontiev Vincent Thavonekham ouvertureGab2019 Ihor leontiev Vincent Thavonekham ouverture
Gab2019 Ihor leontiev Vincent Thavonekham ouvertureFactoVia
 
L'oculus rift de a à z meetup unity
L'oculus rift de a à z   meetup unityL'oculus rift de a à z   meetup unity
L'oculus rift de a à z meetup unityBeMyApp
 
Connected Developper Ep6 (25-05-2013)
Connected Developper Ep6 (25-05-2013)Connected Developper Ep6 (25-05-2013)
Connected Developper Ep6 (25-05-2013)Badr Hakkari
 
Kinect pour les développeurs Web
Kinect pour les développeurs WebKinect pour les développeurs Web
Kinect pour les développeurs WebMickael Dumand
 

Ähnlich wie Leap parisrb (20)

Au coeur d'un projet Kinect innovant
Au coeur d'un projet Kinect innovantAu coeur d'un projet Kinect innovant
Au coeur d'un projet Kinect innovant
 
Kinect et Office365 : Un bon geste en faveur de votre SI
Kinect et Office365 : Un bon geste en faveur de votre SIKinect et Office365 : Un bon geste en faveur de votre SI
Kinect et Office365 : Un bon geste en faveur de votre SI
 
Kinect + Office365 : Un bon geste en faveur de votre SI !
Kinect + Office365 : Un bon geste en faveur de votre SI ! Kinect + Office365 : Un bon geste en faveur de votre SI !
Kinect + Office365 : Un bon geste en faveur de votre SI !
 
La réalité mélangée dans vos applications
La réalité mélangée dans vos applicationsLa réalité mélangée dans vos applications
La réalité mélangée dans vos applications
 
Les nouveautés d'Unity 2018
Les nouveautés d'Unity 2018Les nouveautés d'Unity 2018
Les nouveautés d'Unity 2018
 
Option Majeure design et Réalité Virtuelle
Option Majeure design et Réalité VirtuelleOption Majeure design et Réalité Virtuelle
Option Majeure design et Réalité Virtuelle
 
Tech Conf n°1 - Développement natif d'applications mobiles
Tech Conf n°1 - Développement natif d'applications mobilesTech Conf n°1 - Développement natif d'applications mobiles
Tech Conf n°1 - Développement natif d'applications mobiles
 
Kinect pour les développeurs Web
Kinect pour les développeurs WebKinect pour les développeurs Web
Kinect pour les développeurs Web
 
Reconnaissance de formes
Reconnaissance de formesReconnaissance de formes
Reconnaissance de formes
 
Dev ops - Contiuous delivery
Dev ops - Contiuous deliveryDev ops - Contiuous delivery
Dev ops - Contiuous delivery
 
meetup devops aix-marseille 27/10/2022
meetup devops aix-marseille 27/10/2022meetup devops aix-marseille 27/10/2022
meetup devops aix-marseille 27/10/2022
 
CES 2015 wrap up - Disrupt of Be Disrupted
CES 2015 wrap up - Disrupt of Be DisruptedCES 2015 wrap up - Disrupt of Be Disrupted
CES 2015 wrap up - Disrupt of Be Disrupted
 
Gab2019 Ihor leontiev Vincent Thavonekham ouverture
Gab2019 Ihor leontiev Vincent Thavonekham ouvertureGab2019 Ihor leontiev Vincent Thavonekham ouverture
Gab2019 Ihor leontiev Vincent Thavonekham ouverture
 
L'oculus rift de a à z meetup unity
L'oculus rift de a à z   meetup unityL'oculus rift de a à z   meetup unity
L'oculus rift de a à z meetup unity
 
Intro Android
Intro AndroidIntro Android
Intro Android
 
L'univers Android
L'univers AndroidL'univers Android
L'univers Android
 
Connected Developper Ep6 (25-05-2013)
Connected Developper Ep6 (25-05-2013)Connected Developper Ep6 (25-05-2013)
Connected Developper Ep6 (25-05-2013)
 
Kinect pour les développeurs Web
Kinect pour les développeurs WebKinect pour les développeurs Web
Kinect pour les développeurs Web
 
Digital lab brief
Digital lab   briefDigital lab   brief
Digital lab brief
 
Javavs net
Javavs netJavavs net
Javavs net
 

Leap parisrb