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

Custom calibration of the Leap Motion Controller

While Leap Motion comes with calibration software to ensure they it is fairly consistent across installs, sometimes it isn't enough. For example, there might be some instances where you need to custom-calibrate the Leap Motion device to make sure that tracking data is consistent and reliable for your particular application.

If you find yourself in such a case, there's a relatively simple method to do this. Although simple, it's still a little lengthy. Peruse the well-documented snippet here for an example of how custom calibration can work:

import java.io.IOException; import com.leapmotion.leap.Controller; import com.leapmotion.leap.Frame; import com.leapmotion.leap.Vector; class CalibratedLeapApp ...

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