GCS2014 TMCN

110
モーションセンサーの ゲーム機器外での利用と 今後の展開 中村 薫

description

GCS2014 Tokyo Motion Control Network枠でお話したスライドです https://www.facebook.com/TokyoMotioncontrolNetwork

Transcript of GCS2014 TMCN

Page 1: GCS2014 TMCN

モーションセンサーのゲーム機器外での利用と

今後の展開

中村 薫

Page 2: GCS2014 TMCN

自己紹介

中村 薫フリーランスで主にDepthセンサー系の仕事をしています

アプリケーション開発、講演、ハンズオンセミナー、執筆など

Microsoft MVP for Kinect for Windows

[email protected]

Copyright © 2014 Natural Software All rights reserved.

Page 3: GCS2014 TMCN

Tokyo MotionControl Network

https://www.facebook.com/TokyoMotioncontrolNetwork

Copyright © 2014 Natural Software All rights reserved.

Page 4: GCS2014 TMCN

今後の活動

• 7/10(木) TMCN総会

• 7/12(土) エフサミ!! 出張

• 8/02(土) ロボロボ祭り 出張

• 9月(予定) TMCN総会

• 10月(予定) 岩崎学園学園祭 出張

Copyright © 2014 Natural Software All rights reserved.

Page 5: GCS2014 TMCN

Kinect

Copyright © 2014 Natural Software All rights reserved.

Page 6: GCS2014 TMCN

Kinectとは

• Microsoft社が発売しているXbox 360ゲーム機のコントローラー

• ゲームを操作する際に、「コントローラーを持つ必要がない」ことが特長

Copyright © 2014 Natural Software.jp All rights reserved.

Page 7: GCS2014 TMCN

Copyright © 2014 Natural Software All rights reserved.

Page 8: GCS2014 TMCN

Kinectとは

• 2010年11月にXbox 360のコントローラーとして発売開始

• 2012年01月の時点で1,800万台

• 2013年02月の時点で2,400万台のセールス(for Xbox)

Copyright © 2014 Natural Software.jp All rights reserved.

Page 9: GCS2014 TMCN

Kinect v2

• Xbox One に同梱された新しいKinect

• 2013年11月に米国などで発売開始

• 2014年04月の時点で500万台

Copyright © 2014 Natural Software All rights reserved.

Page 10: GCS2014 TMCN

大きな流れ・1

Copyright © 2014 Natural Software All rights reserved.

Page 11: GCS2014 TMCN

大きな流れ・1

Copyright © 2014 Natural Software All rights reserved.

Microsoft Intel

Apple Google

Page 12: GCS2014 TMCN

大きな流れ・2

Copyright © 2014 Natural Software All rights reserved.

Intel RealSense Leap Motion

Page 13: GCS2014 TMCN

なぜDepthセンサー?

• センサーの低価格化

• Web,モバイルに続く価値の提供

Copyright © 2014 Natural Software All rights reserved.

Page 14: GCS2014 TMCN

さまざまなセンサー&デバイス

Copyright © 2014 Natural Software All rights reserved.

Page 15: GCS2014 TMCN

注目のセンサー&デバイス

Kinect

Kinect v2

Creative Camera

Leap Motion

Oculus Rift

Copyright © 2014 Natural Software All rights reserved.

Structure Sensor

Page 16: GCS2014 TMCN

Kinect

• NUIのさきがけ

• Xbox用のほかにWindows用のセンサーがある

http://www.xbox.com/ja-JP/xbox360

Copyright © 2014 Natural Software All rights reserved.

Page 17: GCS2014 TMCN

Kinect for Windows SDK

Color Stream Depth Stream

Player Tracking Skeleton Tracking

Audio Stream

Copyright © 2014 Natural Software All rights reserved.

Page 18: GCS2014 TMCN

Toolkit

Kinect Studio

Kinect Background RemovalKinect Fusion

Face TrackingVoice Command

Kinect Interaction

Copyright © 2014 Natural Software All rights reserved.

Page 19: GCS2014 TMCN

Kinect v2

• Xbox One に同梱された新しいKinect

• Kinect for Windows v2 Developer Preview の配布が始まっている

http://www.xbox.com/ja-JP/xbox-one/meet-xbox-one

Copyright © 2014 Natural Software All rights reserved.

Page 20: GCS2014 TMCN

Kinect for Windows v2

• Xbox Oneに付属のKinectと同等

• 2014年夏にリリース予定

• Kinect for Windows v2のソフトウェアやハードウェア、APIは暫定的なものであり正式版では変更される可能性があります。

Copyright © 2014 Natural Software All rights reserved.

Page 21: GCS2014 TMCN

Kinect for Windows SDK v2

Color Stream Depth Stream Skeleton Tracking

Copyright © 2014 Natural Software All rights reserved.

Page 22: GCS2014 TMCN

Creative Senz3D

• 手指を認識できるセンサー

• Intel Perceptual Computing SDK を利用する

• コンピューターへの内蔵化を予定

Copyright © 2014 Natural Software All rights reserved.

Page 23: GCS2014 TMCN

Intel Perceptual Computing SDK

Color Stream Hand and Finger Tracking Gesture and Pose Facial Analysis

Speech Recognition Voice Synthesis

"Nothing to say?"

Pulse EstimatorEmotion

Copyright © 2014 Natural Software All rights reserved.

Page 24: GCS2014 TMCN

インテルRealSenseテクノロジー

Copyright © 2014 Natural Software All rights reserved.

Page 25: GCS2014 TMCN

Leap Motion

• 指先を高精度で検出

• 使いやすいソフトウェア

• ハードウェアの内蔵化が進んでいる

https://www.leapmotion.com/

Copyright © 2014 Natural Software All rights reserved.

Page 26: GCS2014 TMCN

Leap Motion SDK

Hand and Finger Tracking Gesture

http://www.buildinsider.net/small/leapmotionfirstimp/01

Touch

Copyright © 2014 Natural Software All rights reserved.

Page 27: GCS2014 TMCN

Structure Sensor

• Kinect v1とほぼ同じセンサー

• iOS対応

• eBayにて発売開始

Copyright © 2014 Natural Software All rights reserved.

Page 28: GCS2014 TMCN

ViewerおよびScanner

Copyright © 2014 Natural Software All rights reserved.

Page 29: GCS2014 TMCN

Oculus Rift

• 非透過型のヘッドマウントディスプレイ

• 両目の視差を利用した立体視を体験できる

• 現在、開発者プレビュー段階

Copyright © 2014 Natural Software All rights reserved.

Page 30: GCS2014 TMCN

Senz3D+Oculus Rift

Copyright © 2014 Natural Software All rights reserved.

Page 31: GCS2014 TMCN

事例

Copyright © 2014 Natural Software All rights reserved.

Page 32: GCS2014 TMCN

医療

http://www.youtube.com/watch?v=624N3-nIieICopyright © 2014 Natural Software All rights reserved.

Page 33: GCS2014 TMCN

サイネージ

Copyright © 2014 Natural Software All rights reserved.

Page 34: GCS2014 TMCN

空中ディスプレイKinect, Leap Motion, Intel PerC

Copyright © 2014 Natural Software All rights reserved.

Page 35: GCS2014 TMCN

現実世界へのインタラクション階段+マッピング+Kinect

http://www.youtube.com/watch?v=h8wZnY_jWF8

Copyright © 2014 Natural Software All rights reserved.

Page 36: GCS2014 TMCN

Photo by Ben Lorph

Kinect x 8台

Copyright © 2014 Natural Software All rights reserved.

Page 37: GCS2014 TMCN

Kinectコンテストから

Copyright © 2014 Natural Software All rights reserved. http://k4wa.com/

Page 38: GCS2014 TMCN

非接触バイタルセンシング

Copyright © 2014 Natural Software All rights reserved.

http://monoist.atmarkit.co.jp/mn/articles/1310/02/news063.html

Page 39: GCS2014 TMCN

高齢者遠隔運動指導・管理モデルRehAct

Copyright © 2014 Natural Software All rights reserved.

http://monoist.atmarkit.co.jp/mn/articles/1310/02/news063_2.html

Page 40: GCS2014 TMCN

Senz3D+Oculus Riftで行動誘導

Copyright © 2014 Natural Software All rights reserved.

Page 41: GCS2014 TMCN

行動誘導の研究

Copyright © 2014 Natural Software All rights reserved.

https://www.youtube.com/watch?v=ldEyGeSw4M8

Page 42: GCS2014 TMCN

Structure Sensorを使った試作

Copyright © 2014 Natural Software All rights reserved.

Page 43: GCS2014 TMCN

センサー詳解

Copyright © 2014 Natural Software All rights reserved.

Page 44: GCS2014 TMCN

KINECT V1

Copyright © 2014 Natural Software All rights reserved.

Page 45: GCS2014 TMCN

Kinect v1

• NUIのさきがけ

• Xbox用のほかにWindows用のセンサーがある

Copyright © 2014 Natural Software All rights reserved.

http://www.xbox.com/ja-JP/xbox360

Page 46: GCS2014 TMCN

Kinect for Windows SDK

Color Stream Depth Stream

Player Tracking Skeleton Tracking

Audio Stream

Copyright © 2014 Natural Software All rights reserved.

Page 47: GCS2014 TMCN

Toolkit

Kinect FusionFace Tracking

Kinect Interaction Kinect Background Removal

Copyright © 2014 Natural Software All rights reserved.

Page 48: GCS2014 TMCN

KINECT V2

Copyright © 2014 Natural Software All rights reserved.

Page 49: GCS2014 TMCN

注意!!

• Kinect for Windows v2のソフトウェアやハードウェア、APIは暫定的なものであり正式版では変更される可能性があります。

Copyright © 2014 Natural Software All rights reserved.

Page 50: GCS2014 TMCN

Kinect v2

Copyright © 2014 Natural Software All rights reserved.

Page 51: GCS2014 TMCN

Kinect v2

• Xbox One に同梱された新しいKinect

• Kinect for Windows v2 Developer Preview の配布が始まっている

• Kinect for Windows v2のRTMは7月末の予定

• Kinect for Windows SDK v2 のRTMは未定

Copyright © 2014 Natural Software All rights reserved.

Page 52: GCS2014 TMCN

Copyright © 2014 Natural Software All rights reserved.

Page 53: GCS2014 TMCN

Copyright © 2014 Natural Software All rights reserved.

http://www.youtube.com/watch?v=Hi5kMNfgDS4

Page 54: GCS2014 TMCN

KINECT V1とV2の比較

Copyright © 2014 Natural Software All rights reserved.

Page 55: GCS2014 TMCN

Kinect for Windows v2のハードウェア要求

対応OS Windows 8, Windows 8.1

開発環境 Visual Studio 2012以降(C++, C#など)

CPU Core i7 2.5GHz以上 64bit CPU

メモリ 4GB以上

USB USB 3.0

グラフィック DirectX 11対応のグラフィックカード

Copyright © 2014 Natural Software All rights reserved.

Kinect v2のソフトウェアやハードウェア、APIは暫定的なものであり正式版では変更される可能性があります。

Page 56: GCS2014 TMCN

センサーの仕様比較

Copyright © 2014 Natural Software All rights reserved.

Kinect v1 Kinect v2

Color画像640x480

1280x9601920x1080

Depth画像80x69

320x240630x480

512x424

Depthセンシング方式 Light Coding TOF(Time of Fright)

Depth認識範囲800mm-4000mm(Default)

400mm-3500mm(Near)500mm-4500mm

水平視野角 57度 70度

垂直視野角43度

(±27度:チルトモーター)60度

(http://goo.gl/pZQRKm)

Kinect v2のソフトウェアやハードウェア、APIは暫定的なものであり正式版では変更される可能性があります。

Page 57: GCS2014 TMCN

センサーの仕様比較

Copyright © 2014 Natural Software All rights reserved.

Kinect v1 Kinect v2

人の検出 6人 6人

人の骨格検出 2人 6人

検出骨格数 20点/一人 25点/一人

手指検出 × △(親指と指先)

手のポーズ検出△

(Kinect Interaction:グー、パー)○(グー、チョキ、パー)

Kinect v2のソフトウェアやハードウェア、APIは暫定的なものであり正式版では変更される可能性があります。

Page 58: GCS2014 TMCN

センサーの仕様比較

Copyright © 2014 Natural Software All rights reserved.

Kinect v1 Kinect v2

ジェスチャー△

(Kinect Interaction:入力支援)○

マイク 4つのマイクアレイ 4つのマイクアレイ

音声入力 ○ ○

チルトモーター あり なし

加速度センサー あり なし

Kinect v2のソフトウェアやハードウェア、APIは暫定的なものであり正式版では変更される可能性があります。

Page 59: GCS2014 TMCN

センサーの仕様比較

Copyright © 2014 Natural Software All rights reserved.

Kinect v1 Kinect v2

USB USB 2.0 USB 3.0

複数Kinectの同時利用 4台まで 未定

複数アプリからの同時利用 × ○

Kinect v2のソフトウェアやハードウェア、APIは暫定的なものであり正式版では変更される可能性があります。

Page 60: GCS2014 TMCN

Kinect for Windows SDK v2

Color Stream Depth Stream Skeleton Tracking

Copyright © 2014 Natural Software All rights reserved.

Kinect v2のソフトウェアやハードウェア、APIは暫定的なものであり正式版では変更される可能性があります。

Page 61: GCS2014 TMCN

Depthを比較する

Copyright © 2014 Natural Software All rights reserved.

Kinect v1 Kinect v2

Kinect v2のソフトウェアやハードウェア、APIは暫定的なものであり正式版では変更される可能性があります。

Page 62: GCS2014 TMCN

Kinect v2

反射の時間を測る

Depthセンシング方式(TOF)

Copyright © 2014 Natural Software All rights reserved.

Page 63: GCS2014 TMCN

Depthセンシング方式(Light Coding)

ランダムな点を照射し、歪みを計測する

Copyright © 2014 Natural Software All rights reserved.

Page 64: GCS2014 TMCN

Kinect for Windows v2

Copyright © 2014 Natural Software All rights reserved.

Kinect v2のソフトウェアやハードウェア、APIは暫定的なものであり正式版では変更される可能性があります。

Page 65: GCS2014 TMCN

全身の骨格検出数

Copyright © 2014 Natural Software All rights reserved.

Kinect v1 : 20点/一人 Kinect v2 : 25点/一人

Page 66: GCS2014 TMCN

全身の骨格検出数

Copyright © 2014 Natural Software All rights reserved.

Page 67: GCS2014 TMCN

Kinect for Windows v2

Copyright © 2014 Natural Software All rights reserved.

http://www.innovotion.co.jp/blog/2013/11/27/22/

Page 68: GCS2014 TMCN

Kinect for Windows v2

Copyright © 2014 Natural Software All rights reserved.

http://www.innovotion.co.jp/blog/2013/11/27/22/

Page 69: GCS2014 TMCN

Kinect v1からのデータ

• ColorImageStream

– RGB または IR

• DepthImageStream

– Depth と PlayerIndex

• SkeletonStream

Copyright © 2014 Natural Software All rights reserved.

Page 70: GCS2014 TMCN

Kinect v2からのデータ

• ColorFrameReader

• DepthFrameReader

• InfraredFrameReader

• BodyIndexFrameReader

• BodyFrameReader

• LongExposureInfraredFrameReader

• MultiSourceFrameReader

Copyright © 2014 Natural Software All rights reserved.

Page 71: GCS2014 TMCN

改善点

• DepthとPlayerIndex(BodyIndex)が分離された

– V1ではDepthとPlayerIndexがひとまとまりだった

• ColorストリームとIRストリームを同時に読み込むことができる

– V1ではColorとIRストリームは排他(PrimeSense系センサーの仕様?)

Copyright © 2014 Natural Software All rights reserved.

Page 72: GCS2014 TMCN

INTEL PERCEPUTUAL COMPUTING SDK

Copyright © 2014 Natural Software All rights reserved.

Page 73: GCS2014 TMCN

Intel Perceptual Computing SDK

• 2013年3月に正式版がリリースされたSDK

• 手指および顔の認識、音声認識が特長

• 全ての機能はリファレンスカメラとしての「Creative* Interactive Gesture Camera」でのみ動作する

• 一部のカメラのみの機能はWebカメラでも動作する

• 以降 PerC SDKと表記する

Copyright © 2014 Natural Software All rights reserved.

Page 74: GCS2014 TMCN

PerC SDK

Color Stream Hand and Finger Tracking Gesture and Pose Facial Analysis

Speech Recognition Voice Synthesis

"Nothing to say?"

Pulse EstimatorEmotion

Copyright © 2014 Natural Software All rights reserved.

Page 75: GCS2014 TMCN

Sensor

http://download-software.intel.com/sites/default/files/article/325946/creativelabs-camera-productbrief-final.pdfCopyright © 2014 Natural Software All rights reserved.

Page 76: GCS2014 TMCN

Creative* Camera

• SoftKinetic 社 DS325 互換

• Creative* Camera で SoftKinetic 社 iisu SDK を利用することもできる

• 逆(DS325 で PerC SDK)はできない

Copyright © 2014 Natural Software All rights reserved.

Page 77: GCS2014 TMCN

RGB Camera

解像度 720p (1280×720 pixels)

フレームレート 30 fps

視野角 73 度

表示範囲 0m – 7.01m

Copyright © 2014 Natural Software All rights reserved.

Page 78: GCS2014 TMCN

IR Depth Sensor

解像度 QVGA (320×240 pixels)

フレームレート 30 fps

視野角 73 度

認識範囲 15cm – 100cm

認識技術 Time-of-flight(TOF)

Copyright © 2014 Natural Software All rights reserved.

Page 79: GCS2014 TMCN

インテルRealSenseテクノロジー

• 2014年1月のCESにて、PerC SDKやCreative* Cameraは「インテルRealSenseテクノロジー」として発表された

• 2014年末にはDepthセンサーが内蔵されたノートPCやタブレットPCが発売予定

Copyright © 2014 Natural Software All rights reserved.

Page 80: GCS2014 TMCN

インテルRealSenseテクノロジー

Copyright © 2014 Natural Software All rights reserved.

Page 81: GCS2014 TMCN

Copyright © 2014 Natural Software All rights reserved.

Page 82: GCS2014 TMCN

LEAP MOTION

Copyright © 2014 Natural Software All rights reserved.

Page 83: GCS2014 TMCN

Leap Motion

• Leap Motion社が販売しているデバイス

• 手や指の動きを認識する

Copyright © 2014 Natural Software All rights reserved.

Page 84: GCS2014 TMCN

なにができるのか

http://www.youtube.com/watch?v=3b4w749Tud8

Copyright © 2014 Natural Software All rights reserved.

Page 85: GCS2014 TMCN

Leap Motion SDK

Hand and Finger Tracking Gesture

http://www.buildinsider.net/small/leapmotionfirstimp/01

Touch

Copyright © 2014 Natural Software All rights reserved.

Page 86: GCS2014 TMCN

Leap Motion SDK v2

http://www.buildinsider.net/small/leapmotionfirstimp/01Copyright © 2014 Natural Software All rights reserved.

Hand Tracking Arm Tracking

Page 87: GCS2014 TMCN

Leap Motion のインタフェース

Leap Motion Application Interface Leap Motion WebSocket Interface

https://developer.leapmotion.com/documentation/GetStarted/Leap_Architecture.htmlCopyright © 2014 Natural Software All rights reserved.

Page 88: GCS2014 TMCN

Airspace

Copyright © 2014 Natural Software All rights reserved.

Page 89: GCS2014 TMCN

内蔵されたLeap Motion

http://gizmodo.com/heres-the-first-laptop-with-leap-motion-built-right-in-1346551607Copyright © 2014 Natural Software All rights reserved.

Page 90: GCS2014 TMCN

デバイスの実行環境

Copyright © 2014 Natural Software All rights reserved.

Page 91: GCS2014 TMCN

デバイスの実行環境(OS)

Copyright © 2014 Natural Software.jp All rights reserved.

Windows Mac OSX Linux iOS Android

Kinect for Windows v1 ○ × × × ×

Kinect for Windows v2 ○ × × × ×

Intel RealSense ○ × × × ×

Leap Motion ○ ○ ○ × ×

Structure Sensor ○ ○ △ ○ ×

Google Tango × × × × ○

Kinect for Wndows v2のソフトウェアやハードウェア、APIは暫定的なものであり正式版では変更される可能性があります。

Page 92: GCS2014 TMCN

デバイスの実行環境(開発環境、言語)

Copyright © 2014 Natural Software.jp All rights reserved.

C++.NET

(C#,VB)WinRT

(C++,C#,VB)Unity(C#)

Objective-C Java

Kinect for Windows v1 ○ ○ × △ × ×

Kinect for Windows v2 ○ ○ ○ ○ × ×

Intel RealSense ○ ○ × ○ × ○

Leap Motion ○ ○ × ○ ○ ○

Structure Sensor ○ ○ × △ ○ ×

Google Tango × × × × × ○

Kinect for Wndows v2のソフトウェアやハードウェア、APIは暫定的なものであり正式版では変更される可能性があります。

Page 93: GCS2014 TMCN

出力装置の進化

Copyright © 2014 Natural Software All rights reserved.

Page 94: GCS2014 TMCN

ディスプレイを越えて

Copyright © 2014 Natural Software All rights reserved.

Page 95: GCS2014 TMCN

http://www.youtube.com/watch?v=h8wZnY_jWF8Copyright © 2014 Natural Software All rights reserved.

Page 96: GCS2014 TMCN

Oculus Rift(オキュラス・リフト)

http://www.oculusvr.com/Copyright © 2014 Natural Software All rights reserved.

Page 97: GCS2014 TMCN

Copyright © 2014 Natural Software All rights reserved.

Page 98: GCS2014 TMCN

触覚を得る

Copyright © 2014 Natural Software All rights reserved.

Page 99: GCS2014 TMCN

http://www.youtube.com/watch?v=xaFBjUJj00M

Copyright © 2014 Natural Software All rights reserved.

Page 100: GCS2014 TMCN

http://www.youtube.com/watch?v=CE4WsYncNa4

Copyright © 2014 Natural Software All rights reserved.

Page 101: GCS2014 TMCN

今後の予測

Copyright © 2014 Natural Software All rights reserved.

Page 102: GCS2014 TMCN

新しいデバイス

Copyright © 2014 Natural Software All rights reserved.

http://makezine.com/2014/01/12/make-editors-highlights-and-picks-from-ces-2014/

http://mobilesyrup.com/2014/01/09/thalmic-labs-shoots-to-kill-with-ces-demo-first-look/

Page 103: GCS2014 TMCN

キーワード

• 内蔵化

• モバイル

• Web/クラウド

Copyright © 2014 Natural Software All rights reserved.

Page 104: GCS2014 TMCN

内蔵化

センサーの内蔵化が進むでしょう。

• Leap Motion

• インテルRealSenseテクノロジー

Copyright © 2014 Natural Software All rights reserved.

https://www.leapmotion.com/

Page 105: GCS2014 TMCN

インテルRealSenseテクノロジー

Copyright © 2014 Natural Software All rights reserved.

Page 106: GCS2014 TMCN

内蔵化によるメリット

• ユーザーが個別にセンサーを購入する必要がなくなる

• センサーを所持するユーザーが増える

• センサーを使ったアプリケーションの需要が高まる

Copyright © 2014 Natural Software All rights reserved.

Page 107: GCS2014 TMCN

モバイル

• iOSやAndroid対応のセンサーが発売され、モバイルでのセンサー利用が可能になるでしょう。

Copyright © 2014 Natural Software All rights reserved.

http://makezine.com/2014/01/12/make-editors-highlights-and-picks-from-ces-2014/

Page 108: GCS2014 TMCN

モバイル化によるセンサー用途

• 空間スキャン

• ユーザーの向いている方向を認識

• ユーザーを認識

Copyright © 2014 Natural Software All rights reserved.

Page 109: GCS2014 TMCN

Web/クラウド

• センサーSDKのブラウザ対応が進んでいます。Webやクラウドとセンサーの連携が進んでいくでしょう。

Copyright © 2014 Natural Software All rights reserved.

Page 110: GCS2014 TMCN

Tokyo MotionControl Networkhttps://www.facebook.com/TokyoMotioncontrolNetwork