Giter VIP home page Giter VIP logo

arkit-leapmotion's Introduction

ARKit + LeapMotion

alt header

A sample projects demonstrating how a LeapMotion device can be hooked to an iPhone to control an ARKit Scene. Note: to run the project you will need a Mac computer running a current system version, a LeapMotion Controller and an iOS Device(iPhone 6S or better) running iOS 11. You will also need to install the LeapMotion V2 Desktop Tracking SDK.

Demo Video: Click here

Gettings started

  1. Open up the project with XCode 9.
  2. Connect your LeapMotion Controller and run the Mac App target.
  3. Now run the iOS target. You will see a live view of the camera with a simple cube placed in front of you.
  4. In the iOS app tap the »Connect To Controller« button. Another view will open, where you can select »LMDSupply« from the list.
  5. Confirm the alert on your Mac app and you should be good to go.
  6. Move you hand around to control the cube.

For now translation(change of position) and rotation are supported.

How it works

The Mac app handles the interpretation of the data coming from the LeapMotion. It then bundles it into a small object which gets streamed to the iOS Device via Multipeer Connectivity. I tried achieving the same by using only Bluetooth. The current solution is way more stable and should produce almost no noticeable lag.

Credits & Links

More to come…

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.