Preface
1. What Is the Kinect?
How Does It Work? Where Did It Come From?
Kinect Artists
2. Working with the Depth Image
Images and Pixels
Project 1: Installing the SimpleOpenNI Processing Library
Project 2: Your First Kinect Program
Project 3: Looking at a Pixel
Converting to Real-World Distances
Project 4: A Wireless Tape Measure
Project 5: Tracking the Nearest Object
Projects
Project 6: Invisible Pencil
Project 7: Minority Report Photos
Exercises
3. Working with Point Clouds
What You’ll Learn in This Chapter
Welcome to the Third Dimension
Drawing Our First Point Cloud
Making the Point Cloud Move
Viewing the Point Cloud in Color
Making the Point Cloud Interactive
Projects
Project 8: Air Drum Kit
Project 9: Virtual Kinect
Conclusion
4. Working with the Skeleton Data
A Note About Calibration
Stages in the Calibration Process
User Detection
Accessing Joint Positions
Skeleton Anatomy Lesson
Measuring the Distance Between Two Joints
Transferring Orientation in 3D
Background Removal, User Pixels, and the Scene Map
Tracking Without Calibration: Hand Tracking and Center of Mass
Projects
Project 10: Exercise Measurement
Project 11: “Stayin’ Alive”:
Dance Move Triggers MP3
Conclusion
5. Scanning for Fabrication
Intro to Modelbuilder
Intro to MeshLab
Making a Mesh from the Kinect Data
Looking at Our First Scan
Cleaning Up the Mesh
Looking at Our Corrected Model
Prepping for Printing
Reduce Polygons in MeshLab
Printing our Model on a MakerBot
Sending Our Model to Shapeways
Conclusion: Comparing Prints
6. Using the Kinect for Robotics
Forward Kinematics
Inverse Kinematics
Conclusion
7. Conclusion: What’s Next?
Beyond Processing: Other Frameworks and Languages
Topics in 3D Programming to Explore
Ideas for Projects
A. Appendix
Index