Kinect Open Source Programming Secrets: Hacking the Kinect with OpenNI, NITE, and Java (Paperback)
暫譯: Kinect 開源程式設計秘訣:使用 OpenNI、NITE 和 Java 破解 Kinect (平裝本)
Andrew Davison
- 出版商: McGraw-Hill Education
- 出版日期: 2012-05-09
- 售價: $1,350
- 貴賓價: 9.5 折 $1,283
- 語言: 英文
- 頁數: 336
- 裝訂: Paperback
- ISBN: 0071783172
- ISBN-13: 9780071783170
-
相關分類:
Java 程式語言、Kinect、駭客 Hack
海外代購書籍(需單獨結帳)
買這商品的人也買了...
-
$1,860$1,767 -
$1,880$1,786 -
$320$288 -
$450$405 -
$12OpenCV教程——基礎篇
-
$680$537 -
$880$748 -
$1,860$1,767 -
$620$558 -
$780$663 -
$1,188Game and Graphics Programming for iOS and Android with OpenGL ES 2.0 (Paperback)
-
$580$458 -
$400$316 -
$1,575$1,496 -
$1,860$1,767 -
$780$663 -
$650$429 -
$520$343 -
$330$257 -
$1,663Professional Android Sensor Programming (Paperback)
-
$950$751 -
$450$351 -
$680$537 -
$2,000$1,900 -
$360$252
相關主題
商品描述
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.
商品描述(中文翻譯)
使用獨特的開源軟體選擇來程式設計 Kinect,實現驚人的功能!
Kinect 動作感應裝置為 Xbox 360 和 Windows 發售時成為全球銷售最快的消費電子產品(在前 60 天內售出 800 萬台),並獲得了「年度遊戲小工具」等多項榮譽獎項。現在,Kinect Open Source Programming Secrets 讓您能夠利用 Kinect 強大的感應能力,進行遊戲、科學、多媒體專案,以及在運行 Windows、Mac OS 和 Linux 的平台上進行各種令人驚訝的應用。
使用者介面程式設計專家 Andrew Davison 博士提供了如何使用 Java 包裝器來程式設計 Kinect 感應器的獨家報導,這些包裝器是由 Kinect 技術的主要開發者 PrimeSense 創建的 OpenNI 和 NITE API。
本書從基礎開始——深度影像、3D 點雲、骨架追蹤和手勢——探討了許多其他主題,包括 Kinect 遊戲、非標準 NITE 的 FAAST 風格手勢、使用 OpenCV 的運動檢測、如何創建手勢驅動的 GUI、訪問 Kinect 的馬達和加速度計,以及其他提示和技巧。
內容包括:
- 免費的開源 API,讓您能夠為商業或私人用途開發驚人的 Kinect 破解程式
- 全面涵蓋深度檢測、相機和紅外影像點雲;Kinect 遊戲;3D 程式設計;基於手勢的 GUI 等等
- 在線訪問作者網站上的詳細程式碼範例,以及有關語音識別、波束形成和其他特殊主題的附加章節
來自作者的話
為什麼要購買這本書?我可以提出四個購買這本書的理由:
- 它提供了獨特的 Kinect 程式設計工具選擇。
- 它解釋了這些工具的官方 Java 包裝器。
- 它涵蓋了其他地方找不到的主題。
- 它提供了深度,但簡潔明瞭。
獨特的程式設計工具
這是唯一一本使用 OpenNI 庫、NITE 和 Java 進行 Kinect 程式設計的書籍(截至 2012 年 4 月,當本書印刷時)。
官方 Java 包裝器
這是唯一一本解釋 OpenNI 和 NITE 的官方 Java 包裝器的書籍(同樣,截至 2012 年 4 月)。所謂「官方」,是指這些綁定是由 PrimeSense 開發的。Java 的明顯優勢包括物件導向、跨平台支援、免費提供,以及許多人(包括您,可能)知道如何使用它進行程式設計。最重要的是,使用 Java 程式設計可以讓您訪問大量的庫——用於圖形、網路等,這些庫可以輕鬆地與 Kinect 連接。例如,我將演示如何使用 Java 3D 圖形庫和 OpenCV 電腦視覺套件的 Java 綁定。
使用 PrimeSense Java 包裝器的主要缺點是缺乏文檔。正如我在第一章中解釋的,我必須反編譯庫的 JAR 檔案,並找出 Java 原始碼與文檔相對較好的 C++ OpenNI/NITE API 之間的對應關係。(這就是為什麼在書名中包含「Secrets」並不過分。)
廣泛的主題範圍
本書涵蓋了其他地方找不到的程式設計主題。我當然從基礎開始,包含有關深度、紅外和 RGB 影像、點雲、骨架使用者追蹤、手部追蹤和手勢支援的章節。超越這些,我還涵蓋了幾個新穎和不尋常的特徵,包括以下內容:
- 基於經典 Breakout 電子遊戲版本的 Kinect 遊戲。
- 對 Kinect 馬達、LED 和加速度計的控制,這些並不是標準 OpenNI API 的一部分。事實上,它們的缺失通常被視為 API 的一個重大缺陷。實際上,使用自定義 USB 驅動程式添加這些功能相當簡單。
- 使用 Java 3D 的點雲和骨架追蹤範例中的 3D 圖形程式設計。
- 一個電腦視覺範例,演示如何將 Kinect 與流行(且強大的)OpenCV 庫連接。
- 創建新的身體手勢(受 FAAST 系統啟發),這些手勢並不在有限的 NITE repertoire 中。
- 一種新型的 GUI 元件,通過手勢控制,並用三個範例進行說明:按鈕、旋鈕和滑桿。這些元件在沒有滑鼠或鍵盤的幫助下進行控制。
深度與簡潔
本書描述了許多複雜的程式碼,但與一些相當厚重的程式設計書籍不同,您不會在這些頁面上找到所有程式碼的冗長印刷。相反,您可以從本書的網站下載它。此外,我還在網站上添加了補充章節,包括討論語音識別和 Kinect 麥克風陣列的章節。