!! HoloLens で始める Cognitive Services...共通の前提事項 ...

42
簡単 !! HoloLens で始める Cognitive Services de:code 2018 特別バージョン ~ AC62

Transcript of !! HoloLens で始める Cognitive Services...共通の前提事項 ...

Page 1: !! HoloLens で始める Cognitive Services...共通の前提事項   ...

簡単 !! HoloLens で始める Cognitive Services

~ de:code 2018 特別バージョン~

AC62

Page 2: !! HoloLens で始める Cognitive Services...共通の前提事項   ...

自己紹介

Page 3: !! HoloLens で始める Cognitive Services...共通の前提事項   ...

HoloLens体験会やってます

Page 4: !! HoloLens で始める Cognitive Services...共通の前提事項   ...

本日紹介すること

Page 5: !! HoloLens で始める Cognitive Services...共通の前提事項   ...

はじめに

Page 6: !! HoloLens で始める Cognitive Services...共通の前提事項   ...

公式サンプル公開

https://docs.microsoft.com/ja-jp/windows/mixed-reality/academy

Page 7: !! HoloLens で始める Cognitive Services...共通の前提事項   ...

共通の前提事項

https://docs.microsoft.com/ja-jp/windows/mixed-reality/locatable-camera-in-unity

https://docs.microsoft.com/ja-jp/windows/mixed-reality/locatable-camera

Page 8: !! HoloLens で始める Cognitive Services...共通の前提事項   ...

実行環境バージョン情報

Page 9: !! HoloLens で始める Cognitive Services...共通の前提事項   ...

HoloLens+Face API

Page 10: !! HoloLens で始める Cognitive Services...共通の前提事項   ...

サンプルその① HoloLens+Face API

https://azure.microsoft.com/j

a-jp/services/cognitive-

services/face/

Page 11: !! HoloLens で始める Cognitive Services...共通の前提事項   ...

前提事項

https://docs.microsoft.com/ja-jp/windows/mixed-reality/mr-azure-304

Page 12: !! HoloLens で始める Cognitive Services...共通の前提事項   ...

サンプルその① HoloLens+Face API

Page 13: !! HoloLens で始める Cognitive Services...共通の前提事項   ...

サンプルその① HoloLens+Face API

エアタップごとに実行

顔ごとに実行

Page 14: !! HoloLens で始める Cognitive Services...共通の前提事項   ...

サンプルその① HoloLens+Face API

Page 15: !! HoloLens で始める Cognitive Services...共通の前提事項   ...

サンプルその① HoloLens+Face API

Page 16: !! HoloLens で始める Cognitive Services...共通の前提事項   ...

サンプルその① HoloLens+Face API

URLを使用して外部から画像取得

Page 17: !! HoloLens で始める Cognitive Services...共通の前提事項   ...

サンプルその① HoloLens+Face API

Page 18: !! HoloLens で始める Cognitive Services...共通の前提事項   ...

サンプルその① HoloLens+Face API

Page 19: !! HoloLens で始める Cognitive Services...共通の前提事項   ...

サンプルその① HoloLens+Face API

Page 20: !! HoloLens で始める Cognitive Services...共通の前提事項   ...

サンプルその① HoloLens+Face API

#r "Newtonsoft.Json"

using System;

using System.Net;

using System.Threading.Tasks;

using Newtonsoft.Json;

public static async Task<object> Run(HttpRequestMessage req, TraceWriter log)

{

log.Verbose($"Webhook was triggered!");

string jsonContent = await req.Content.ReadAsStringAsync();

var personInfo = JsonConvert.DeserializeObject<PersonInfo>(jsonContent as string);

using (var client = new HttpClient())

{

var res = await client.PostAsJsonAsync("LogicAppsのURL",new {

name = personInfo.name

}

);

// Response Code

return req.CreateResponse(res.StatusCode);

}

}

public class PersonInfo {

public string name { get; set; }

}

Page 21: !! HoloLens で始める Cognitive Services...共通の前提事項   ...

サンプルその① HoloLens+Face API

https://github.com/haveagit/HoloLensFaceAPISample

Page 22: !! HoloLens で始める Cognitive Services...共通の前提事項   ...

HoloLens+Computer Vision API

Page 23: !! HoloLens で始める Cognitive Services...共通の前提事項   ...

サンプルその② HoloLens+Computer Vision API

https://azure.microsoft.com/ja-

jp/services/cognitive-

services/computer-vision/

{ "tags": [ "train", "platform", "station", "building", "indoor",

"subway", "track", "walking", "waiting", "pulling", "board",

"people", "man", "luggage", "standing", "holding", "large",

"woman", "yellow", "suitcase" ], "captions": [ { "text": "people

waiting at a train station", "confidence": 0.833099365 } ] }

Page 24: !! HoloLens で始める Cognitive Services...共通の前提事項   ...

前提事項

Page 25: !! HoloLens で始める Cognitive Services...共通の前提事項   ...

サンプルその② HoloLens+Computer Vision API

Page 26: !! HoloLens で始める Cognitive Services...共通の前提事項   ...

サンプルその② HoloLens+Computer Vision API

エアタップごとに実行

音声入力ごとに実行

Page 27: !! HoloLens で始める Cognitive Services...共通の前提事項   ...

サンプルその② HoloLens+Computer Vision API

Page 28: !! HoloLens で始める Cognitive Services...共通の前提事項   ...

サンプルその② HoloLens+Computer Vision API

Page 29: !! HoloLens で始める Cognitive Services...共通の前提事項   ...

サンプルその② HoloLens+Computer Vision API

Page 30: !! HoloLens で始める Cognitive Services...共通の前提事項   ...

サンプルその② HoloLens+Computer Vision API

Page 31: !! HoloLens で始める Cognitive Services...共通の前提事項   ...

サンプルその② HoloLens+Computer Vision API

https://github.com/haveagit/HoloLensComputerVisionSample

Page 32: !! HoloLens で始める Cognitive Services...共通の前提事項   ...

HoloLens+Custom Vision Service

Page 33: !! HoloLens で始める Cognitive Services...共通の前提事項   ...

サンプルその③ HoloLens+Custom Vision

どこに

https://azure.microsoft.com/ja-

jp/services/cognitive-

services/custom-vision-service/

Page 34: !! HoloLens で始める Cognitive Services...共通の前提事項   ...

前提事項

WebAPIによる物体検出

https://youtu.be/y2CLT9LgmOk

HoloLensローカル環境(要RS4)での分類、物体検出

http://akihiro-document.azurewebsites.net/post/hololens_windowsmachinelearningunity/

http://akihiro-document.azurewebsites.net/post/hololens_windowsmachinelearningpaint2/

WebAPIによる分類

Page 35: !! HoloLens で始める Cognitive Services...共通の前提事項   ...

前提事項

https://qiita.com/morio36/items/42ee34a1c97929d44ca2

Page 36: !! HoloLens で始める Cognitive Services...共通の前提事項   ...

サンプルその③ HoloLens+Custom Vision

Page 37: !! HoloLens で始める Cognitive Services...共通の前提事項   ...

サンプルその③ HoloLens+Custom Vision

エアタップごとに実行

Page 38: !! HoloLens で始める Cognitive Services...共通の前提事項   ...

サンプルその③ HoloLens+Custom Vision

https://github.com/arXivTimes/arXivTimes/tree/

master/datasets

Page 39: !! HoloLens で始める Cognitive Services...共通の前提事項   ...

サンプルその③ HoloLens+Custom Vision

https://southcentralus.dev.cognitive.microsoft.c

om/docs/services/eb68250e4e954d9bae0c265

0db79c653/operations/58acd3c1ef062f0344a4

2813

https://southcentralus.dev.cognitive.microsoft.c

om/docs/services/450e4ba4d72542e889d93fd

7b8e960de/operations/5a6264bc40d86a0ef8b

2c290

・TagがTagNameに・Regionが追加・現状、頭文字は小文字

Page 40: !! HoloLens で始める Cognitive Services...共通の前提事項   ...

サンプルその③ HoloLens+Custom Vision

Page 41: !! HoloLens で始める Cognitive Services...共通の前提事項   ...

サンプルその③ HoloLens+Custom Vision

https://github.com/haveagit/HoloLensCustomVisionAPISample

Page 42: !! HoloLens で始める Cognitive Services...共通の前提事項   ...

© 2018 Shingo Mori All rights reserved.

本コンテンツの著作権、および本コンテンツ中に出てくる商標権、団体名、ロゴ、製品、サービスなどはそれぞれ、各権利保有者に帰属します。

本情報の内容 (添付文書、リンク先などを含む) は、de:code 2018 開催日 (2018年5月22~23日) 時点のものであり、予告なく変更される場合があります