OpenNI Cookbook

Soroush Falahati

  • 出版商: Packt Publishing
  • 出版日期: 2012-11-17
  • 售價: $1,940
  • 貴賓價: 9.5$1,843
  • 語言: 英文
  • 頁數: 324
  • 裝訂: Paperback
  • ISBN: 1849518467
  • ISBN-13: 9781849518468
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

商品描述

Learn how to write NIUI-based applications and motion-controlled games

Overview

  • Learn something new in an Instant! A short, fast, focused guide delivering immediate results
  • Learn more about the Natural Interaction features of OpenNI
  • The book is useful for both beginners and professionals because it covers the most basic to advanced concepts in the OpenNi technology.
  • Full of illustrations, examples, and tips for understanding different aspects of topics, with clear step-by-step instructions to get different parts of OpenNI working for you

In Detail

The release of Microsoft Kinect, then PrimeSense Sensor, and Asus Xtion opened new doors for developers to interact with users, re-design their application’s UI, and make them environment (context) aware. For this purpose, developers need a good framework which provides a complete application programming interface (API), and OpenNI is the first choice in this field. This book introduces the new version of OpenNI.

"OpenNI Cookbook" will show you how to start developing a Natural Interaction UI for your applications or games with high level APIs and at the same time access RAW data from different sensors of different hardware supported by OpenNI using low level APIs. It also deals with expanding OpenNI by writing new modules and expanding applications using different OpenNI compatible middleware, including NITE.

"OpenNI Cookbook" favors practical examples over plain theory, giving you a more hands-on experience to help you learn. OpenNI Cookbook starts with information about installing devices and retrieving RAW data from them, and then shows how to use this data in applications. You will learn how to access a device or how to read data from it and show them using OpenGL, or use middleware (especially NITE) to track and recognize users, hands, and guess the skeleton of a person in front of a device, all through examples.You also learn about more advanced aspects such as how to write a simple module or middleware for OpenNI itself.

"OpenNI Cookbook" shows you how to start and experiment with both NIUI designs and OpenNI itself using examples.

What you will learn from this book

  • Retrieve and use depth, vision, and audio from compatible devices
  • Get basic information about the environment
  • Recognize hands, humans, and their skeleton and track their moves
  • Customize frames right from the device itself
  • Identify basic gestures like pushing or swapping
  • Select between devices or use more than one device to read data
  • Recognize pre-defined hand gestures and detect user poses

Approach

This is a Cookbook with plenty of practical recipes enriched with explained code and plenty of screenshots to ease your learning curve.

Who this book is written for

If you are a beginner or a professional in NIUI and want to write serious applications or games, then this book is for you. Even OpenNI 1 and OpenNI 1.x programmers who want to move to new versions of OpenNI can use this book as a starting point.

This book uses C++ as the primary language but there are some examples in C# and Java too, so you need to have about a basic working knowledge of C or C++ for most cases.

商品描述(中文翻譯)

學習如何撰寫基於NIUI的應用程式和動作控制遊戲

概述
- 立即學習新知識!一本短小、快速、專注的指南,能立即帶來成果
- 了解OpenNI的自然互動功能
- 本書對於初學者和專業人士都很有用,因為它涵蓋了OpenNI技術的基本和高級概念
- 充滿插圖、示例和理解不同主題不同方面的提示,並提供清晰的逐步指示,讓您能讓OpenNI的不同部分運作起來

詳細內容
- 微軟Kinect、PrimeSense Sensor和Asus Xtion的推出為開發人員與用戶互動、重新設計應用程式的使用者界面並使其具有環境(上下文)感知能力打開了新的大門。為此,開發人員需要一個提供完整應用程式編程接口(API)的良好框架,而OpenNI是這個領域的首選。本書介紹了OpenNI的新版本。

- 《OpenNI Cookbook》將向您展示如何使用高級API開始為應用程式或遊戲開發自然互動使用者界面,同時使用低級API從OpenNI支援的不同硬體的不同感應器中存取原始數據。它還介紹了如何通過編寫新模塊和使用不同OpenNI兼容中間件(包括NITE)擴展OpenNI的方法。

- 《OpenNI Cookbook》更偏向實際示例而非純理論,讓您能更實際地學習。《OpenNI Cookbook》從安裝設備並擷取原始數據的相關資訊開始,然後展示如何在應用程式中使用這些數據。您將學習如何存取設備或從設備讀取數據並使用OpenGL顯示,或使用中間件(尤其是NITE)來追蹤和識別使用者、手部並猜測設備前方人的骨架,所有這些都通過示例進行。您還將學習更高級的內容,例如如何為OpenNI本身編寫簡單的模塊或中間件。

- 《OpenNI Cookbook》向您展示如何使用示例開始並實驗NIUI設計和OpenNI本身。

本書將教您以下內容:
- 從兼容設備中擷取和使用深度、視覺和音訊
- 獲取有關環境的基本資訊
- 識別手部、人體和其骨架並追蹤其動作
- 直接從設備自身自訂幀
- 識別推動或交換等基本手勢
- 選擇設備或使用多個設備來讀取數據
- 識別預定義的手勢並檢測使用者姿勢

方法
- 這是一本充滿實用食譜的烹飪書,配有解釋的程式碼和大量截圖,以幫助您輕鬆學習。

本書的讀者
- 如果您是NIUI的初學者或專業人士,並且想要撰寫嚴肅的應用程式或遊戲,那麼本書適合您。即使是OpenNI 1和OpenNI 1.x的程式設計師想要轉移到新版本的OpenNI,也可以將本書作為起點。
- 本書主要使用C++作為主要語言,但也有一些C#和Java的示例,因此對於大多數情況,您需要對C或C++有基本的工作知識。