Slide 1

Slide 1 text

Amazon AI兄弟の世界 re:Growth 2016 TOKYO #cmdevio 1 Tsuyoshi Seino Classmethod Inc, Work3兄弟、Code4兄弟に続け ツヨシの知らない

Slide 2

Slide 2 text

SF*OWFOUͨͷ͔ͬͨ͠ʂʂ 2 ※ハミルトン先⽣と

Slide 3

Slide 3 text

Amazon AI Amazonの持っている Deep Learning のノウハウを 外の開発者も使えるようにした シリーズ 3

Slide 4

Slide 4 text

Deep Learning(深層学習) 大量のデータから機械が 「自動的に」 特徴やルールを見つけて学習、 判断を行う技術。 ※人間の脳が行う紐付けの仕組み(ニューロン)を参考に している(ニューラルネットワーク) 4

Slide 5

Slide 5 text

Deep Learning(深層学習) 機械学習=ルールを 人間が定義する Deep Learning=ルールを 機械が見つける 5

Slide 6

Slide 6 text

Deep Learning(深層学習) 6 ※レイヤーが深くなるごとに複雑な形状を特定していく

Slide 7

Slide 7 text

Amazon AIは兄弟 Amazon AIは現在 3つのサービスがある - Amazon Rekognition - Amazon Polly - Amazon Lex まだまだ増える予定 7

Slide 8

Slide 8 text

Amazon Rekognition Amazon Rekognitionは 4つの機能から出来ている オブジェクトの認識機能 顔認識機能 個人比較 顔認証機能 8

Slide 9

Slide 9 text

Amazon Rekognition 使用API - DetectLabels - DetectFaces - CompareFaces - IndexFaces - SearchFacesByImage - ListCollections 9 - CreateCollection - DeleteCollection - CompareFaces - DeleteFaces - SearchFaces - ListFaces

Slide 10

Slide 10 text

Amazon Rekognition 出力=JSON - DetectLabels { "Labels": [    {Name: lighthouse, Confidence: 98.4629}, {Name: rock,Confidence: 79.2097}, {Name: sea,Confidence: 75.061} 10

Slide 11

Slide 11 text

Amazon Rekognition - 基本はS3バケットに画像を上げて APIで指定する形 - レスポンスはそんなに速くない - 顔認識は目、鼻、口角の5点 - confidence(確からしさ)でフィルタ リングして使うのが実用的 11

Slide 12

Slide 12 text

Amazon polly - 同形異義語の前後の文脈を理解し て発音を変える I live(リブ) in Seattle Live(ライブ) from New York - Lexicons(語彙)を追加できる 12

Slide 13

Slide 13 text

Amazon polly 使用API - DeleteLexicon - DescribeVoices - GetLexicon - ListLexicons - PutLexicon - SynthesizeSpeech 13

Slide 14

Slide 14 text

Amazon Polly - Polly=一般的なオウムの名前 (犬の「ポチ」的な) ※言ったことを正確に繰り返すから - 本一冊丸々呼んでもらって $2.4くらいは安い - LexのアウトプットはPollyを使っている 14

Slide 15

Slide 15 text

Amazon Lex ALEXA=>LEX 15

Slide 16

Slide 16 text

Amazon Lex - Alexaの設計が元になっている - Intent - Utterance - Slot 16

Slide 17

Slide 17 text

Amazon Lex 17

Slide 18

Slide 18 text

Amazon Lex 18

Slide 19

Slide 19 text

Amazon Lex 19

Slide 20

Slide 20 text

Amazon Lex 20

Slide 21

Slide 21 text

Amazon Lex 21

Slide 22

Slide 22 text

Summary - Amazon AIは これからのインタラクションを変える - 既存のサイト、アプリに 簡単に組み込むことが出来る - まだこれからの部分もある - 楽しいのでやってみよう 22