Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Kinect Workshop

Sponsored · SiteGround - Reliable hosting with speed, security, and support you can count on.

Kinect Workshop

Avatar for Seiya Konno

Seiya Konno

April 16, 2012

More Decks by Seiya Konno

Other Decks in Technology

Transcript

  1. WHAT IS KINECT • Motion sensing input device • Designed

    for Microsoft Xbox 360 • Components • 3D depth sensor • RGB Camera • Microphones / Motorized tilt
  2. KINECT HACKING BRINGS... • Demo • http://vimeo.com/17836665 • http://www.youtube.com/watch?v=lajP7HO7ZyE •

    http://mrdoob.com/lab/javascript/webgl/kinect/ • http://vimeo.com/24546394
  3. RECIPE • Mac and OS X 10.6 or later •

    Kinect • Driver for Mac • Xcode • openFrameworks
  4. DRIVER FOR PC • libfreenect • First Kinect driver for

    PCs • Simple and Fast. • OpenNI • PrimeSense officially released. • Can detect bones
  5. XCODE • For compiling openFrameworks projects. • Bundles many useful

    development tools. • Compilers (gcc) • Mac OS X Software development kit.
  6. HOMEBREW • Homebrew (a.k.a. brew) is Package manager for OS

    X • Easiest way to install missing Unix tools. • $ brew install opencv • Require compiler. (provided by Xcode)
  7. OPENFRAMEWORKS • Written by C++ • Insanely fast! • Flexible

    API. Processing like. (setup, update, draw) • Many addons (OpenCV, OSC etc...) • Exists library for Kinect. • ofxKinect, ofxOpenNI
  8. INSTALLATION • Install libfreenect, libusb-freenect by Homebrew • cd `brew

    --prefix`/Library/Formula • $ curl --insecure -O "https://raw.github.com/OpenKinect/ libfreenect/master/platform/osx/homebrew/libfreenect.rb" • $ curl --insecure -O "https://raw.github.com/OpenKinect/ libfreenect/master/platform/osx/homebrew/libusb- freenect.rb" • $ brew install libfreenect
  9. INSTALLATION • Make application directory • of_preRelease_v007_osx/apps/myapps • Move example

    project to application directory • of_preRelease_v007_osx/addons/ofxOpenNI/example/ openNI-demoAllFeatures • of_preRelease_v007_osx/apps/myapps/openNI- demoAllFeatures
  10. INSTALLATION • Copy libraries to project folder • src: of_preRelease_v007_osx/addons/ofxOpenNI/mac/

    copy_to_data_openni_path/lib • dest: of_preRelease_v007_osx/apps/myapps/openNI- demoAllFeatures/bin/data/openni
  11. DON’T FORGET!! • Switch compiler Apple LLVM compiler to LLVM

    GCC • Apple LLVM compiler cannot build openFrameworks project • Set deployment target to Mac OS X 10.6 • 10.7 cannot build for Mac OS X SDK reason