GCS2014 TMCN

Post on 08-Sep-2014

183 views 4 download

Tags:

description

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

Transcript of GCS2014 TMCN

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

今後の展開

中村 薫

自己紹介

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

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

Microsoft MVP for Kinect for Windows

kaorun55@naturalsoftware.jp

Copyright © 2014 Natural Software All rights reserved.

Tokyo MotionControl Network

https://www.facebook.com/TokyoMotioncontrolNetwork

Copyright © 2014 Natural Software All rights reserved.

今後の活動

• 7/10(木) TMCN総会

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

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

• 9月(予定) TMCN総会

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

Copyright © 2014 Natural Software All rights reserved.

Kinect

Copyright © 2014 Natural Software All rights reserved.

Kinectとは

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

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

Copyright © 2014 Natural Software.jp All rights reserved.

Copyright © 2014 Natural Software All rights reserved.

Kinectとは

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

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

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

Copyright © 2014 Natural Software.jp All rights reserved.

Kinect v2

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

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

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

Copyright © 2014 Natural Software All rights reserved.

大きな流れ・1

Copyright © 2014 Natural Software All rights reserved.

大きな流れ・1

Copyright © 2014 Natural Software All rights reserved.

Microsoft Intel

Apple Google

大きな流れ・2

Copyright © 2014 Natural Software All rights reserved.

Intel RealSense Leap Motion

なぜDepthセンサー?

• センサーの低価格化

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

Copyright © 2014 Natural Software All rights reserved.

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

Copyright © 2014 Natural Software All rights reserved.

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

Kinect

Kinect v2

Creative Camera

Leap Motion

Oculus Rift

Copyright © 2014 Natural Software All rights reserved.

Structure Sensor

Kinect

• NUIのさきがけ

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

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

Copyright © 2014 Natural Software All rights reserved.

Kinect for Windows SDK

Color Stream Depth Stream

Player Tracking Skeleton Tracking

Audio Stream

Copyright © 2014 Natural Software All rights reserved.

Toolkit

Kinect Studio

Kinect Background RemovalKinect Fusion

Face TrackingVoice Command

Kinect Interaction

Copyright © 2014 Natural Software All rights reserved.

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.

Kinect for Windows v2

• Xbox Oneに付属のKinectと同等

• 2014年夏にリリース予定

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

Copyright © 2014 Natural Software All rights reserved.

Kinect for Windows SDK v2

Color Stream Depth Stream Skeleton Tracking

Copyright © 2014 Natural Software All rights reserved.

Creative Senz3D

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

• Intel Perceptual Computing SDK を利用する

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

Copyright © 2014 Natural Software All rights reserved.

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.

インテルRealSenseテクノロジー

Copyright © 2014 Natural Software All rights reserved.

Leap Motion

• 指先を高精度で検出

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

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

https://www.leapmotion.com/

Copyright © 2014 Natural Software All rights reserved.

Leap Motion SDK

Hand and Finger Tracking Gesture

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

Touch

Copyright © 2014 Natural Software All rights reserved.

Structure Sensor

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

• iOS対応

• eBayにて発売開始

Copyright © 2014 Natural Software All rights reserved.

ViewerおよびScanner

Copyright © 2014 Natural Software All rights reserved.

Oculus Rift

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

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

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

Copyright © 2014 Natural Software All rights reserved.

Senz3D+Oculus Rift

Copyright © 2014 Natural Software All rights reserved.

事例

Copyright © 2014 Natural Software All rights reserved.

医療

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

サイネージ

Copyright © 2014 Natural Software All rights reserved.

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

Copyright © 2014 Natural Software All rights reserved.

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

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

Copyright © 2014 Natural Software All rights reserved.

Photo by Ben Lorph

Kinect x 8台

Copyright © 2014 Natural Software All rights reserved.

Kinectコンテストから

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

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

Copyright © 2014 Natural Software All rights reserved.

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

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

Copyright © 2014 Natural Software All rights reserved.

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

Senz3D+Oculus Riftで行動誘導

Copyright © 2014 Natural Software All rights reserved.

行動誘導の研究

Copyright © 2014 Natural Software All rights reserved.

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

Structure Sensorを使った試作

Copyright © 2014 Natural Software All rights reserved.

センサー詳解

Copyright © 2014 Natural Software All rights reserved.

KINECT V1

Copyright © 2014 Natural Software All rights reserved.

Kinect v1

• NUIのさきがけ

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

Copyright © 2014 Natural Software All rights reserved.

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

Kinect for Windows SDK

Color Stream Depth Stream

Player Tracking Skeleton Tracking

Audio Stream

Copyright © 2014 Natural Software All rights reserved.

Toolkit

Kinect FusionFace Tracking

Kinect Interaction Kinect Background Removal

Copyright © 2014 Natural Software All rights reserved.

KINECT V2

Copyright © 2014 Natural Software All rights reserved.

注意!!

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

Copyright © 2014 Natural Software All rights reserved.

Kinect v2

Copyright © 2014 Natural Software All rights reserved.

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.

Copyright © 2014 Natural Software All rights reserved.

Copyright © 2014 Natural Software All rights reserved.

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

KINECT V1とV2の比較

Copyright © 2014 Natural Software All rights reserved.

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は暫定的なものであり正式版では変更される可能性があります。

センサーの仕様比較

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は暫定的なものであり正式版では変更される可能性があります。

センサーの仕様比較

Copyright © 2014 Natural Software All rights reserved.

Kinect v1 Kinect v2

人の検出 6人 6人

人の骨格検出 2人 6人

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

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

手のポーズ検出△

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

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

センサーの仕様比較

Copyright © 2014 Natural Software All rights reserved.

Kinect v1 Kinect v2

ジェスチャー△

(Kinect Interaction:入力支援)○

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

音声入力 ○ ○

チルトモーター あり なし

加速度センサー あり なし

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

センサーの仕様比較

Copyright © 2014 Natural Software All rights reserved.

Kinect v1 Kinect v2

USB USB 2.0 USB 3.0

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

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

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

Kinect for Windows SDK v2

Color Stream Depth Stream Skeleton Tracking

Copyright © 2014 Natural Software All rights reserved.

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

Depthを比較する

Copyright © 2014 Natural Software All rights reserved.

Kinect v1 Kinect v2

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

Kinect v2

反射の時間を測る

Depthセンシング方式(TOF)

Copyright © 2014 Natural Software All rights reserved.

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

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

Copyright © 2014 Natural Software All rights reserved.

Kinect for Windows v2

Copyright © 2014 Natural Software All rights reserved.

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

全身の骨格検出数

Copyright © 2014 Natural Software All rights reserved.

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

全身の骨格検出数

Copyright © 2014 Natural Software All rights reserved.

Kinect for Windows v2

Copyright © 2014 Natural Software All rights reserved.

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

Kinect for Windows v2

Copyright © 2014 Natural Software All rights reserved.

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

Kinect v1からのデータ

• ColorImageStream

– RGB または IR

• DepthImageStream

– Depth と PlayerIndex

• SkeletonStream

Copyright © 2014 Natural Software All rights reserved.

Kinect v2からのデータ

• ColorFrameReader

• DepthFrameReader

• InfraredFrameReader

• BodyIndexFrameReader

• BodyFrameReader

• LongExposureInfraredFrameReader

• MultiSourceFrameReader

Copyright © 2014 Natural Software All rights reserved.

改善点

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

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

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

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

Copyright © 2014 Natural Software All rights reserved.

INTEL PERCEPUTUAL COMPUTING SDK

Copyright © 2014 Natural Software All rights reserved.

Intel Perceptual Computing SDK

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

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

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

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

• 以降 PerC SDKと表記する

Copyright © 2014 Natural Software All rights reserved.

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.

Sensor

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

Creative* Camera

• SoftKinetic 社 DS325 互換

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

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

Copyright © 2014 Natural Software All rights reserved.

RGB Camera

解像度 720p (1280×720 pixels)

フレームレート 30 fps

視野角 73 度

表示範囲 0m – 7.01m

Copyright © 2014 Natural Software All rights reserved.

IR Depth Sensor

解像度 QVGA (320×240 pixels)

フレームレート 30 fps

視野角 73 度

認識範囲 15cm – 100cm

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

Copyright © 2014 Natural Software All rights reserved.

インテルRealSenseテクノロジー

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

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

Copyright © 2014 Natural Software All rights reserved.

インテルRealSenseテクノロジー

Copyright © 2014 Natural Software All rights reserved.

Copyright © 2014 Natural Software All rights reserved.

LEAP MOTION

Copyright © 2014 Natural Software All rights reserved.

Leap Motion

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

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

Copyright © 2014 Natural Software All rights reserved.

なにができるのか

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

Copyright © 2014 Natural Software All rights reserved.

Leap Motion SDK

Hand and Finger Tracking Gesture

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

Touch

Copyright © 2014 Natural Software All rights reserved.

Leap Motion SDK v2

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

Hand Tracking Arm Tracking

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.

Airspace

Copyright © 2014 Natural Software All rights reserved.

内蔵されたLeap Motion

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

デバイスの実行環境

Copyright © 2014 Natural Software All rights reserved.

デバイスの実行環境(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は暫定的なものであり正式版では変更される可能性があります。

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

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は暫定的なものであり正式版では変更される可能性があります。

出力装置の進化

Copyright © 2014 Natural Software All rights reserved.

ディスプレイを越えて

Copyright © 2014 Natural Software All rights reserved.

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

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

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

Copyright © 2014 Natural Software All rights reserved.

触覚を得る

Copyright © 2014 Natural Software All rights reserved.

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

Copyright © 2014 Natural Software All rights reserved.

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

Copyright © 2014 Natural Software All rights reserved.

今後の予測

Copyright © 2014 Natural Software All rights reserved.

新しいデバイス

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/

キーワード

• 内蔵化

• モバイル

• Web/クラウド

Copyright © 2014 Natural Software All rights reserved.

内蔵化

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

• Leap Motion

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

Copyright © 2014 Natural Software All rights reserved.

https://www.leapmotion.com/

インテルRealSenseテクノロジー

Copyright © 2014 Natural Software All rights reserved.

内蔵化によるメリット

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

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

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

Copyright © 2014 Natural Software All rights reserved.

モバイル

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

Copyright © 2014 Natural Software All rights reserved.

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

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

• 空間スキャン

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

• ユーザーを認識

Copyright © 2014 Natural Software All rights reserved.

Web/クラウド

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

Copyright © 2014 Natural Software All rights reserved.

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