Kinect Hacks

Book description

Much more than a game controller, Microsoft’s Kinect is a bundle of high quality sensors for capturing data on depth, motion, and form. It was only a matter of time before spirited hackers got involved, and this hands-on guide—written by an editor of developkinect.com—highlights the best projects to come out of OpenKinect, the largest and most active Kinect hacking community. Each hack details a Kinect application and explains in detail how to reproduce the project.

Table of contents

  1. Kinect Hacks
  2. Preface
    1. The Story
    2. Acknowledgments
    3. Conventions Used in This Book
    4. Using Code Examples
    5. Safari® Books Online
    6. How to Contact Us
    7. Contributors
  3. 1. Getting Up and Running
    1. Hack #1. How the Kinect Works
    2. Hack #2. How the Kinect Was Hacked
    3. Hack #3. Choose a Framework and Driver
    4. Install OpenNI, SensorKinect, and NITE for Windows 7
    5. Install OpenNI, NITE, and SensorKinect for OS X
    6. Install OpenNI, NITE, and SensorKinect for Ubuntu
    7. Install libfreenect for Mac OS X
    8. Install libfreenect for Ubuntu
    9. Install libfreenect for Windows 7
    10. Install the Kinect for Windows SDK
  4. 2. Programming Options
    1. Get to Know openFrameworks
    2. Install openFrameworks for Windows
    3. Install openFrameworks for OS X
    4. Install openFrameworks for Ubuntu
    5. Install the ofxKinect Add-on for openFrameworks
    6. Use Processing
    7. Install SimpleOpenNI and OpenKinect Processing Libraries
    8. Install Cinder-Kinect for Mac OS X
  5. 3. Visual Effects
    1. Use Quartz Composer with Synapse for Kinect
    2. Draw in the Air with Processing
    3. Create a Gravitational Particle Effect
    4. Make Objects Follow a Tracked User’s Hand
    5. Dynamically Change Colors and Background Perspective
    6. Create a Live 3D Rendered Effect with Processing
    7. Create a Hairy Effect
    8. Create Hand Tracking Trails Using Cinder
  6. 4. Gestural Interfaces for Making Music
    1. Install OSCeleton
    2. Install Kinectar
    3. Map Parameters in Ableton Live with Kinectar
    4. Set Up a Drum Kit with Kinectar
    5. Create a Dubstep Wobble Bassline with Kinectar
  7. 5. Motion Capture and Animation
    1. Use Blender and NI Mate for Motion Capture
    2. Record Motion Capture with Blender and NI Mate
    3. Control a Rig in Blender with NI Mate
    4. Use NI Mate with Animata
  8. 6. 3D Object and Scene Reconstruction
    1. Install RGBDemo and Skanect
    2. Import RGBDemo Output into Blender
    3. Use Skanect to Create a Scene Mesh
    4. Use Processing to Create a 3D Scanner with Mesh Viewer
    5. Import a Scanned Object for Printing with MakerBot
    6. Set Up PCL and OpenCV
    7. Display a Colored Point Cloud
    8. Use Features to Track Camera Image Motion
    9. Fuse Point Clouds into a Consistent 3D Model
    10. Add Convenience Functionality to a 3D Model
    11. Next Steps: SLAM, OctoMaps, Surface Reconstruction
  9. 7. Web Applications and Gaming
    1. Install the Zigfu SDK
    2. Create an HTML User Radar Using Zigfu SDK
    3. Install Scratch and Kinect2Scratch
    4. Create a Basic Tennis Game Using Scratch
    5. Build a Defender-Style Shooter Game with Scratch
    6. Build a Kinect Space Shooter Game in Processing
    7. Build a Processing Fridge Magnet Game
  10. 8. Robotics and Natural User Interfaces
    1. Control a Robotic Arm
    2. Control a Robot’s Navigation
    3. Use Candescent NUI
    4. Use Kinect Jesture for Mac
    5. Use Linux Gesture-Based Mouse Control
    6. Use Winect for Windows
  11. Index
  12. Colophon
  13. Copyright

Product information

  • Title: Kinect Hacks
  • Author(s):
  • Release date: November 2012
  • Publisher(s): O'Reilly Media, Inc.
  • ISBN: 9781449315207