5. FlashAir Developers Summit
作例1)人物カウンター 全体概要
2017/2/19All rights reserved. Copyright(C) 2017 AYASE Hiro 5
Microsoft
Cognitive Services
Face API
(顔認識)
人数・年齢・性別を認識
画像ファイル
画像ファイル
画像ファイル
画像ファイル
画像ファイルの送信
60秒待機
年齢層別・男女別
人数カウント
最終更新日時の
画像ファイルを検索
60秒周期に
写真を撮影
実行スクリプト(Lua)
FlashAir IoT Hubに
データ送信
6. FlashAir Developers Summit
Microsoft Cognitive Services
さまざまなAPIが公開されています。 https://www.microsoft.com/cognitive-services/
2016/10/15All rights reserved. Copyright(C) 2016 AYASE Hiro
7. FlashAir Developers Summit
Microsoft Cognitive Services
Computer Vision API – 画像分析機能
2017/2/19All rights reserved. Copyright(C) 2017 AYASE Hiro 7
8. FlashAir Developers Summit
Microsoft Cognitive Services
Computer Vision API – 画像分析機能(タグ・キャプション等)
2017/2/19All rights reserved. Copyright(C) 2017 AYASE Hiro 8
9. FlashAir Developers Summit
Microsoft Cognitive Services
Computer Vision API – Describe Image機能
画像データをもとに、タグ(属性)情報とキャプション(説明文)を自動生成する機能。
JPEG, PNG, GIF, BMP形式に対応
4MBまで
50x50ピクセル以上が必要
REST API
Http MethodでPOSTするだけで、JSON形式でタグ・キャプション等の情報を取得できる
無料利用可能
1分間20リクエストまで
1ヵ月5,000リクエストまで
2017/2/19All rights reserved. Copyright(C) 2017 AYASE Hiro 9
Http Method POST
Request URL https://api.projectoxford.ai/vision/v1.0/describe[?maxCandidates]
Request parameters maxCandidates (optional) Maximum number of candidate descriptions to
be returned. The default is 1.
Request headers Content-Type (optional) Media type of the body sent to the API.
Ocp-Apim-Subscription-Key Subscription key which provides access to
this API. Found in your subscriptions.
17. FlashAir Developers Summit
iOSアプリ
powered by Xamarin
作例2)音声で鉄道模型を運転 全体概要
2017/2/19All rights reserved. Copyright(C) 2017 AYASE Hiro 17
Microsoft
Cognitive Services
Bing Speech API
(音声認識)
LUIS -
Language Understanding
Intelligent Service
(自然言語認識)
音 声 録 音
文字列取得・送信
PWM出力
ポイント制御
Intent・Entity取得
運転コマンド生成
無線LANモジュール
マイコンボード
モータードライバ
速度八十で前に進め
一番ポイントを右へ
18. FlashAir Developers Summit
Microsoft Cognitive Services
さまざまなAPIが公開されています。 https://www.microsoft.com/cognitive-services/
2016/10/15All rights reserved. Copyright(C) 2016 AYASE Hiro
19. FlashAir Developers Summit
Microsoft Cognitive Services
Bing Speech API(音声認識) https://www.microsoft.com/cognitive-services/en-us/speech-api
2016/10/15All rights reserved. Copyright(C) 2016 AYASE Hiro
20. FlashAir Developers Summit
Microsoft Cognitive Services
Bing Speech API – Speech Recognition機能
音声データをもとに、文字情報を認識する機能。
PCM single channel、Siren、SirenSR形式に対応
REST API
Http MethodでPOSTするだけで、JSON形式で音声認識した文
字データを取得できる
無料利用可能
1ヵ月5,000リクエストまで
機能ごとに20リクエスト/分まで
全機能で60リクエスト/分まで
2016/10/15All rights reserved. Copyright(C) 2016 AYASE Hiro
21. FlashAir Developers Summit
Microsoft Cognitive Services
Bing Speech API – Speech Recognition機能
対応言語
2016/10/15All rights reserved. Copyright(C) 2016 AYASE Hiro
language-
Country
English Name language-
Country
English Name language-
Country
English Name language-
Country
English Name
ar-EG* Arabic (Egypt) en-IN English (India) fr-FR French(France) pt-BR Portuguese(Brazil)
ca-ES Catalan(Spain) en-NZ
English (New
Zealand)
it-IT Italian(Italy) pt-PT
Portuguese(Portug
al)
da-DK Danish(Denmark) en-US
English (United
States)
ja-JP Japanese(Japan) ru-RU Russian(Russia)
de-DE German(Germany) es-ES Spanish(Spain) ko-KR Korean (Korea) sv-SE Swedish(Sweden)
en-AU English(Australia) es-MX Spanish (Mexico) nb-NO
Norwegian-Bokmal
(Norway)
zh-CN Chinese (China)
en-CA English(Canada) fi-FI Finnish(Finland) nl-NL Dutch(Netherlands) zh-HK
Chinese (Hong
Kong SAR)
en-GB
English(United
Kingdom) fr-CA French(Canada) pl-PL Polish(Poland) zh-TW Chinese (Taiwan)
*ar-EG supports Modern Standard Arabic (MSA)
22. FlashAir Developers Summit
Microsoft Cognitive Services
さまざまなAPIが公開されています。 https://www.microsoft.com/cognitive-services/
2016/10/15All rights reserved. Copyright(C) 2016 AYASE Hiro