情報処理学会研究報告 IPSJ SIG Technical Report NtKinect: C++ Class Library for Kinect V2 新田 善久 1,a) 概要:Kinect for Windows V2 は骨格認識,顔認識,音声方向取得など多くの機能を持ったデバイスであ る.そのプログラミング開発を容易にするために C++ 用のクラスライブラリ NtKinect を開発し,オー プンソース化した.NtKinect を用いたプログラムはマルチスレッド対応,DLL 化可能で,他の言語や開 発環境からも Kinect V2 の機能が容易に利用できる.その設計方針について論じる. キーワード:Kinect V2, C++, DLL, Unity NtKinect: C++ Class Library for Kinect V2 Nitta Yoshihisa 1, a) Abstract: Kinect for Windows V2 is a device with many functions such as skeleton recognition, face recog- nition and voice direction acquisition. In order to make its programming easier, we developed NtKinect class library for C++ and made it open source. Programs using NtKinect are multi-threaded, DLLable, and Kinect V2 functions can be used from other programming languages and environments. We will discuss its design policy. Keywords: Kinect V2, C++, DLL, Unity 1. はじめに Microsoft が開発した Kinect for Windows V2 * 1 [1] は 骨格認識,顔認識,音声方向取得など多くの機能を持った デバイスである.この Kinect V2 を利用したプログラミ ングを容易にするために,C++ 用のクラスライブラリを 開発し,オープンソースとして公開した.その設計方針と API について論じる. 2. Kinect for Windows V2 Microsoft は Kinect V2 のプログラミング開発用に Kinect for Windows version 2.0 SDK を配布している. その C++ 用のリファレンス [2] の native code API にあ 1 津田塾大学 Tsuda College, 2–1–1, Tsuda, Koadira, Tokyo 187–8577, Japan a) [email protected]* 1 以下 Kinect V2 と記す. 表 1 Kinect SDK の Inteface 接頭子 機能 種類 総メソッド数 IAudio 音声 10 50 IBody 骨格認識 11 61 IColor 色カメラ 6 31 ICoordinateMapper 座標変換 2 17 IDepth 深度センサ 5 26 IInfrared 赤外線センサ 5 22 IKinectSensor デバイス本体 2 19 IMultiSource 複数ストリーム 4 16 その他 その他 9 35 合計 54 277 る Interface * 2 の一覧を表 1 に示す.Interface 名は機能を 表す接頭子で始まり,大きく 9 種類に分けられる.Interface は全部で 54 種類あり, その中に含まれているメソッドの総 数は 277 である. この SDK を直接用いたプログラム開発 [3] は,自由度が * 2 ここでは C++におけるクラスと同義. c ⃝ 2017 Information Processing Society of Japan 1
6
Embed
NtKinect: C++ Class Library for Kinect V2 - nw.tsuda.ac.jpkarel.tsuda.ac.jp/lec/kinect2/hci172/IPSJ-HCI17172024.pdf · Abstract: Kinect for Windows V2 is a device with many functions
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
情報処理学会研究報告IPSJ SIG Technical Report
NtKinect: C++ Class Library for Kinect V2
新田 善久1,a)
概要:Kinect for Windows V2 は骨格認識,顔認識,音声方向取得など多くの機能を持ったデバイスであ
る.そのプログラミング開発を容易にするために C++ 用のクラスライブラリ NtKinect を開発し,オー
Abstract: Kinect for Windows V2 is a device with many functions such as skeleton recognition, face recog-nition and voice direction acquisition. In order to make its programming easier, we developed NtKinectclass library for C++ and made it open source. Programs using NtKinect are multi-threaded, DLLable, andKinect V2 functions can be used from other programming languages and environments. We will discuss itsdesign policy.
Keywords: Kinect V2, C++, DLL, Unity
1. はじめに
Microsoft が開発した Kinect for Windows V2 *1 [1] は
骨格認識,顔認識,音声方向取得など多くの機能を持った
デバイスである.この Kinect V2 を利用したプログラミ
ングを容易にするために,C++ 用のクラスライブラリを
開発し,オープンソースとして公開した.その設計方針と
APIについて論じる.
2. Kinect for Windows V2
Microsoft は Kinect V2 のプログラミング開発用に
Kinect for Windows version 2.0 SDK を配布している.
その C++ 用のリファレンス [2] の native code API にあ
1 津田塾大学Tsuda College, 2–1–1, Tsuda, Koadira, Tokyo 187–8577,Japan