Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
2020.06.30「IBM Code PatternsでAIアプリを動かしてみた」
Search
KMiura
June 29, 2020
Technology
0
360
2020.06.30「IBM Code PatternsでAIアプリを動かしてみた」
2020.06.29 機械学習名古屋オンラインLT会
KMiura
June 29, 2020
Tweet
Share
More Decks by KMiura
See All by KMiura
運用しているアプリケーションのDBのリプレイスをやってみた
miura55
1
1k
Amazon Rekognitionを使ったインターホンハック
miura55
0
60
Pythonでルンバをハックしてみた
miura55
0
130
あなたの知らないクラフトビールの世界
miura55
0
320
Storage Browser for Amazon S3を触ってみた + α
miura55
0
180
Cloudflare R2をトリガーにCloudflare Workersを動かしてみた
miura55
0
190
あのボタンでつながるSORACOM
miura55
0
120
Postman Flowsで作るAPI連携LINE Bot
miura55
0
360
Lambdaと共に歩んだAWS
miura55
3
790
Other Decks in Technology
See All in Technology
ビズリーチが挑む メトリクスを活用した技術的負債の解消 / dev-productivity-con2025
visional_engineering_and_design
3
7.8k
AI専用のリンターを作る #yumemi_patch
bengo4com
6
4.3k
OSSのSNSツール「Misskey」をさわってみよう(右下ワイプで私のOSCの20年を振り返ります) / 20250705-osc2025-do
akkiesoft
0
170
React開発にStorybookとCopilotを導入して、爆速でUIを編集・確認する方法
yu_kod
1
280
Delta airlines®️ USA Contact Numbers: Complete 2025 Support Guide
airtravelguide
0
340
Enhancing SaaS Product Reliability and Release Velocity through Optimized Testing Approach
ropqa
1
240
さくらのIaaS基盤のモニタリングとOpenTelemetry/OSC Hokkaido 2025
fujiwara3
3
450
SEQUENCE object comparison - db tech showcase 2025 LT2
nori_shinoda
0
150
Getting to Know Your Legacy (System) with AI-Driven Software Archeology (WeAreDevelopers World Congress 2025)
feststelltaste
1
150
Model Mondays S2E04: AI Developer Experiences
nitya
0
180
Delta airlines Customer®️ USA Contact Numbers: Complete 2025 Support Guide
deltahelp
0
760
American airlines ®️ USA Contact Numbers: Complete 2025 Support Guide
airhelpsupport
0
390
Featured
See All Featured
YesSQL, Process and Tooling at Scale
rocio
173
14k
Testing 201, or: Great Expectations
jmmastey
43
7.6k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
6
310
Faster Mobile Websites
deanohume
307
31k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
138
34k
Practical Orchestrator
shlominoach
189
11k
How STYLIGHT went responsive
nonsquared
100
5.6k
A Modern Web Designer's Workflow
chriscoyier
695
190k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.4k
Building a Modern Day E-commerce SEO Strategy
aleyda
42
7.4k
Side Projects
sachag
455
42k
Transcript
IBM Code Patternsの AIアプリを動かしてみた K.Miura
自己紹介 • 三浦 耕生(こうき) • ワンダープラネット(株) のサーバーエンジニア • IBM Champion
2020 / LINE API Expert
IBM Code Patternsとは? • IBM Developersが提供するハンズオンコンテンツ • IBMのソリューションを使ったものからOSSのチュートリアル • Apachライセンスのレポジトリで公開されている
• AI、ブロックチェーン、IoTなど
今回紹介するもの • 聞いて発話するリアルタイム の翻訳アプリ • Node.js動くWebアプリ • 使用するWatson API(ライト プランでOK)
• Speech to Text • Language Translator • Text to Speech https://developer.ibm.com/jp/patterns/build-a-real-time-translation-service-with-watson-api-kit/
Let’s Code!
レポジトリをクローン • 新規プロジェクトを作成してNotebookを追加 • サンプルのURLを指定するだけで簡単に用意できる • 手順に従い、Watson APIのURL、APIキーを.envファイルに書く • npm
install • npm start
完成イメージ • ボタンを押して喋ってその場で翻訳する • ブラウザで動かす想定 • 今回はローカルの実行環境で動かす (Open ShiftとCloud Foundryで動かす
例もあり) • 英語→他言語、他言語→英語の翻訳のみ (例外あり)
DEMO
失敗したとき用の動画w
認識した音声は? • 一文ずつJson形式で読み 込まれ、さらに単語ごとの 認識率まで表示される • 認識した音声のどの時間で 認識した単語なのかも表示 される スピーカーの話す速度
も出せる
コンソールの出力 • リアルタイムで認識したテキ ストを出力して翻訳する作 業を行っている • しばらく無音の時間が続い たら、その時点で完成した 文章を音声合成で出力する
まとめ • Code PatternsではAI、IoT、ブロックチェーンなどを使ったサンプル が紹介されている • Watsonは自然言語処理に強く、翻訳の精度はかなり高い • アプリは無料で試せるが、やりすぎ注意(無料枠を考えて)
END