O'Reilly logo

Mastering Leap Motion by Brandon Sanders

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Gestures

OK, so these are just a tad more complex than the previous topics we've covered so far. However, I digress; they're still relatively simple. As gestures are one of the more complicated aspects of the Leap Motion API, we'll walk through the different gestures (and what they do) one at a time.

Detecting gestures

Whenever the Leap Motion Controller is turned on and is active, it is watching for activity within its FOV that resembles certain kinds of movement patterns that are typical of a user gesture or command. As an example, a circular movement of the user's finger might be detected as CircleGesture, while a hand moving from side to side might indicate SwipeGesture.

As per the Leap API documents, whenever the Leap's tracking software detects ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required