Kinect Open Source Programming Secrets: Hacking the Kinect with OpenNI, NITE, and Java [NOOK Book]

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

Available on NOOK devices and apps  
  • NOOK Devices
  • Samsung Galaxy Tab 4 NOOK
  • NOOK HD/HD+ Tablet
  • NOOK
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK for Web

Want a NOOK? Explore Now

NOOK Book (eBook)
$16.99
BN.com price
(Save 43%)$30.00 List Price

Overview

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.

Read More Show Less

Product Details

  • ISBN-13: 9780071783187
  • Publisher: McGraw-Hill Education
  • Publication date: 5/9/2012
  • Sold by: Barnes & Noble
  • Format: eBook
  • Edition number: 1
  • Pages: 336
  • File size: 28 MB
  • Note: This product may take a few minutes to download.

Meet the Author

Andrew Davison received his Ph.D. from Imperial College in London, and was a lecturer at the University of Melbourne for six years, before moving to Prince of Songkla University in Thailand. He is the author of Killer Game Programming in Java, Pro Java 6 3D Game Development, and co-author (with Carol Hamer) of Learn BlackBerry Games Development.

Read More Show Less

Table of Contents

1. Getting Started
2. Kinect Imaging
3. A Point Cloud for Depths
4. Tracking Users in 2D
5. Viewing Users in 3D
6. The Tilt Motor, LED, and Accelerometer
7. NITE Hand Gestures
8. NITE HandsTracker
9. Kinect Breakout
10. Gesture GUIs
11. Kinect Capture
12. Motion Detection Using OpenCV
13. FAAST-Style Body Gestures
Index
Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)