Kinect Open Source Programming Secrets : Hacking the Kinect with OpenNI, NITE, and Java


Book Description

Program Kinect to do awesome things using a unique selection of open source software! The Kinect motion-sensing device for the Xbox 360 and Windows became the world's fastest-selling consumer electronics device when it was released (8 million sold in its first 60 days) and won prestigious awards, such as "Gaming Gadget of the Year." Now Kinect Open Source Programming Secrets lets YOU harness the Kinect's powerful sensing capabilities for gaming, science, multimedia projects, and a mind-boggling array of other applications on platforms running Windows, Mac OS, and Linux. Dr. Andrew Davison, a user interface programming expert, delivers exclusive coverage of how to program the Kinect sensor with the Java wrappers for OpenNI and NITE, which are APIs created by PrimeSense, the primary developers of the Kinect's technology. Beginning with the basics--depth imaging, 3D point clouds, skeletal tracking, and hand gestures--the book examines many other topics, including Kinect gaming, FAAST-style gestures that aren't part of standard NITE, motion detection using OpenCV, how to create gesture-driven GUIs, accessing the Kinect's motor and accelerometer, and other tips and techniques. Inside: Free open source APIs to let you develop amazing Kinect hacks for commercial or private use Full coverage of depth detection, camera, and infrared imaging point clouds; Kinect gaming; 3D programming; gesture-based GUIs, and more Online access to detailed code examples on the author's web site, plus bonus chapters on speech recognition, beamforming, and other exotica From the Author Why Buy This Book? I can suggest four reasons for buying this book: It offers a unique choice of Kinect programming tools. It explains the official Java wrappers for those tools. It covers topics not found elsewhere. It provides depth, but with brevity. Unique Programming Tools This is the only book on programming the Kinect using the OpenNI library, NITE, and Java (as of April 2012, when this book went to press). Official Java Wrappers This is the only book that explains the official Java wrappers for OpenNI and NITE (again, as of April 2012). By “official,” I mean that these bindings were developed by PrimeSense. Obvious advantages of Java include object-orientation, cross-platform support, availability for free, and many people (including you, probably) knowing how to program with it. Most important, programming in Java gives you access to a massive number of libraries—for graphics, networking, and beyond—that can be linked to the Kinect without much effort. For example, I’ll demonstrate how to use the Java 3D graphics library and the Java binding for the OpenCV computer vision package. The main drawback of using the PrimeSense Java wrappers is their lack of documentation. As I explain in Chapter 1, I had to decompile the libraries’ JAR files, and work out the correspondences between the Java source and the somewhat better documented C++ OpenNI/NITE APIs. (This is why including Secrets in the book’s title isn’t too excessive.) A Wide Range of Topics This book covers programming topics not found elsewhere. I start off with the basics, of course, with chapters on depth, infrared, and RGB imaging, point clouds, skeletal user tracking, hand tracking, and gesture support. Moving beyond that, I cover several novel and unusual features, including the following: Kinect gaming based around a version of the classic Breakout video game. Controls for the Kinect motor, LED, and accelerometer, which are not part of the standard OpenNI API. In fact, their absence is often held up as a serious drawback of the API. It’s actually quite easy to add these capabilities using a custom-built USB driver. 3D graphics programming in the point cloud and skeletal tracking examples, using Java 3D. A computer vision example that demonstrates how to link the Kinect to the popular (and powerful) OpenCV library. The creation of new body gestures (inspired by the FAAST system), which are not part of the limited NITE repertoire. A new type of GUI component controlled by hand gesturing, illustrated with three examples: a button, dial, and slider. These components are controlled without the help of mouse or keyboard. Depth with Brevity This book describes a lot of complicated code but, unlike some rather hefty programming tomes, you won’t find all the code tediously printed on these pages. Instead, you can download it from the book’s website. In addition, I’ve been adding supplementary chapters to the website, including ones discussing speech recognition and the Kinect microphone array.




Electrodynamic and Mechatronic Systems


Book Description

Selected, peer reviewed extended papers from the International Symposium on Electrodynamic and Mechatronic Systems (SELM 2013), May 15-18, 2013, Zawiercie, Poland




Kinect Open Source Programming Secrets


Book Description

Program Kinect to do awesome things using a unique selection of open source software! The Kinect motion-sensing device for the Xbox 360 and Windows became the world's fastest-selling consumer electronics device when it was released (8 million sold in its first 60 days) and won prestigious awards, such as "Gaming Gadget of the Year." Now Kinect Open Source Programming Secrets lets YOU harness the Kinect's powerful sensing capabilities for gaming, science, multimedia projects, and a mind-boggling array of other applications on platforms running Windows, Mac OS, and Linux. Dr. Andrew Davison, a user interface programming expert, delivers exclusive coverage of how to program the Kinect sensor with the Java wrappers for OpenNI and NITE, which are APIs created by PrimeSense, the primary developers of the Kinect's technology. Beginning with the basics--depth imaging, 3D point clouds, skeletal tracking, and hand gestures--the book examines many other topics, including Kinect gaming, FAAST-style gestures that aren't part of standard NITE, motion detection using OpenCV, how to create gesture-driven GUIs, accessing the Kinect's motor and accelerometer, and other tips and techniques. Inside: Free open source APIs to let you develop amazing Kinect hacks for commercial or private use Full coverage of depth detection, camera, and infrared imaging point clouds; Kinect gaming; 3D programming; gesture-based GUIs, and more Online access to detailed code examples on the author's web site, plus bonus chapters on speech recognition, beamforming, and other exotica




Kinect in Motion – Audio and Visual Tracking by Example


Book Description

The book includes a series of step-by-step illustrated tutorials supported by detailed explanations for building a multimodal user interface based on Kinect for Windows.Kinect in Motion - Audio and Visual Tracking by Example is great for developers new to the Kinect for Windows SDK, and who are looking to get a good grounding in how to master video and audio tracking. It’s assumed that you have some experience in C# and XAML already.




Beginning Kinect Programming with the Microsoft Kinect SDK


Book Description

Beginning Kinect Programming with the Microsoft Kinect SDK gets you up and running developing Kinect applications for your PC using Microsoft tools and the official SDK. You will have a working Kinect program by the end of the first chapter! The following chapters will open up the secrets of three-dimensional vision, skeleton tracking, audio through the Kinect, and more. Examples illustrate the concepts in the form of simple games that react to your body movements. The result is a fun read that helps you learn one of the hottest technologies out there today. Beginning Kinect Programming with the Microsoft Kinect SDK also provides building blocks and ideas for mashing up the Kinect with other technologies to create art, interactive games, 3D models and enhanced office automation. You'll learn the fundamental code basic to almost all Kinect applications. You'll learn to integrate that code with other tools and manipulate data to create amazing Kinect applications. Beginning Kinect Programming with the Microsoft Kinect SDK is your gateway into the exciting world of three-dimensional, real-time computer interaction. Helps you create a proper development environment for Kinect applications. Covers the basics of three-dimensional vision, skeleton tracking, gesture recognition, and audio Provides fun examples that keep you engaged and learning




La Stanza Sensibile


Book Description

La nuova frontiera da abbattere, per la composizione musicale, il sound design e la domotica avanzata, potrebbe essere proprio la "stanza sensibile". L'ultima intuizione di Luigi Agostini, musicista, compositore, autore ma soprattutto creativo e visionario costantemente in anticipo sui tempi, rappresenta l'evoluzione naturale di quanto già espresso nel suo best-seller "Creare Paesaggi Sonori" del 2007. La versione cartacea del breve saggio contiene la prefazione di Fabio De Sanctis De Benedictis, una ricca bibliografia ipertestuale e i seguenti capitoli: Alle origini dell'idea, Le basi tecniche del progetto, Come riconoscere le emozioni analizzando il comportamento? Che collegamento esiste tra suono ed emozione? Creare paesaggi sonori 3D interattivi, Estetica del Sound Design, Immaginando o suonando?




Advances in Visual Computing


Book Description

The two volume set LNCS 6938 and LNCS 6939 constitutes the refereed proceedings of the 7th International Symposium on Visual Computing, ISVC 2011, held in Las Vegas, NV, USA, in September 2011. The 68 revised full papers and 46 poster papers presented together with 30 papers in the special tracks were carefully reviewed and selected from more than 240 submissions. The papers of part I (LNCS 6938) are organized in computational bioimaging, computer graphics, motion and tracking, segmentation, visualization; mapping modeling and surface reconstruction, biomedical imaging, computer graphics, interactive visualization in novel and heterogeneous display environments, object detection and recognition. Part II (LNCS 6939) comprises topics such as immersive visualization, applications, object detection and recognition, virtual reality, and best practices in teaching visual computing.




Making Things See


Book Description

A guide to creating computer applications using Microsoft Kinect features instructions on using the device with different operating systems, using 3D scanning technology, and building robot arms, all using open source programming language.




Begin to Code with Python


Book Description

Become a Python programmer–and have fun doing it! Start writing software that solves real problems, even if you have absolutely no programming experience! This friendly, easy, full-color book puts you in total control of your own learning, empowering you to build unique and useful programs. Microsoft has completely reinvented the beginning programmer’s tutorial, reflecting deep research into how today’s beginners learn, and why other books fall short. Begin to Code with Python is packed with innovations, from its “Snaps” prebuilt operations to its “Make Something Happen” projects. Whether you’re a total beginner or you’ve tried before, this guide will put the power, excitement, and fun of programming where it belongs: in your hands! Easy, friendly, and you’re in control! Learn how to... Get, install, and use powerful free tools to create modern Python programs Learn key concepts from 170 sample programs, and use them to jumpstart your own Discover exactly what happens when a program runs Approach program development with a professional perspective Learn the core elements of the Python language Build more complex software with classes, methods, and objects Organize programs so they’re easy to build and improve Capture and respond to user input Store and manipulate many types of real-world data Define custom data types to solve specific problems Create interactive games that are fun to play Build modern web and cloud-based applications Use pre-built libraries to quickly create powerful software Get code samples, including complete apps, at: https://aka.ms/BegintoCodePython/downloads About This Book For absolute beginners who’ve never written a line of code For anyone who’s been frustrated with other beginning programming books or courses For people who’ve started out with other languages and now want to learn Python Works with Windows PC, Apple Mac, Linux PC, or Raspberry Pi Includes mapping of MTA exam objectives that are covered in this book, as well as an appendix with further explanation of some of the topics on the exam




Real-World Flash Game Development


Book Description

This book covers Flash for the everyday developer. The average Flash developer doesn't have luxurious timelines, employers who understand the value of reusability, or the help of an information architect to design a usable experience. This book helps bridge the gap for these coders who may be used to C++, Java, or C# and want to move over to Flash. Griffith covers real-world scenarios pulled from his own experiences developing games for over 8 years in the industry. Gifts from Griffith's REAL-WORLD experiences include: Game design templates and pre-written scripts to automate tasks within Flash; Classes for handling common math computations used in gaming, so that game developers can see how to set up a simple game flow; Powerful debugging tools for your games(debuggers for Flash games are hard to come by, and this book provides them for you). The associated web site offers: Code from the game examples in the book with fully build-able source files. Additional code snippets, classes, and utilities. Scripts for automating tedious and repetitive tasks within Flash. Template game-design documents for planning game proposals in the same manner outlined in the book. Links to other helpful online resources for both Flash and game development.