Kinect Workshop Part 1/2

2,469
-1

Published on

@ Uniba Inc.

Published in: Education, Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,469
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
43
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Kinect Workshop Part 1/2

  1. 1. KINECT WORKSHOP 2012/02/07
  2. 2. AGENDA• What is Kinect• How to Kinect Hacking• Setup!
  3. 3. WHAT IS KINECT• Motion sensing input device• Designed for Microsoft Xbox 360• Components • 3D depth sensor • RGB Camera • Microphones / Motorized tilt
  4. 4. USAGE
  5. 5. 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
  6. 6. RECIPE• Mac and OS X 10.6 or later• Kinect• Driver for Mac• Xcode• openFrameworks
  7. 7. DRIVER FOR PC• libfreenect • First Kinect driver for PCs • Simple and Fast.• OpenNI • PrimeSense officially released. • Can detect bones
  8. 8. XCODE• For compiling openFrameworks projects.• Bundles many useful development tools. • Compilers (gcc) • Mac OS X Software development kit.
  9. 9. 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)
  10. 10. OPENFRAMEWORKS• Written by C++• Insanely fast!• Flexible API. Processing like. (setup, update, draw)• Many addons (OpenCV, OSC etc...)• Exists library for Kinect. • ofxKinect, ofxOpenNI
  11. 11. INSTALLATION• Download Xcode installer from Mac App Store
  12. 12. INSTALLATION• Install Homebrew• Google: homebrew install
  13. 13. 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
  14. 14. INSTALLATION• Download openFrameworks v007• http://openframeworks.cc•
  15. 15. INSTALLATION• Put openFrameworks to your home directory• /Users/anyone/of_preRelease_v007_osx
  16. 16. INSTALLATION• Download ofxOpenNI (includes OpenNI Libraries)• Google: ofxopenni• https://github.com/gameoverhack/ofxOpenNI
  17. 17. INSTALLATION• Rename gameoverhack-ofxOpenNI-xxxx to ofxOpenNI• Put ofxOpenNI to openFrameworks addons directory
  18. 18. 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
  19. 19. 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
  20. 20. OPEN PROJECT• Open Xcode Projet file • of_preRelease_v007_osx/apps/myapps/openNI- demoAllFeatures/openNiSample007.xcodeproj
  21. 21. 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
  22. 22. RUN AND ENJOY!
  23. 23. CALIBRATING
  24. 24. TO BE CONTINUED...
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×