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
Cloud Vision API × Go言語で画像認識やってみました
Search
akane
June 20, 2017
0
270
Cloud Vision API × Go言語で画像認識やってみました
楽しいです
akane
June 20, 2017
Tweet
Share
More Decks by akane
See All by akane
未経験エンジニアがエンジニアリングマネージャーになるまで
akane256
1
920
Go言語入門
akane256
0
530
JavaScriptでチャットCLIツール作成
akane256
1
660
Featured
See All Featured
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.2k
GitHub's CSS Performance
jonrohan
1032
470k
The World Runs on Bad Software
bkeepers
PRO
72
11k
A designer walks into a library…
pauljervisheath
209
24k
Automating Front-end Workflow
addyosmani
1371
200k
Mobile First: as difficult as doing things right
swwweet
225
10k
Keith and Marios Guide to Fast Websites
keithpitt
411
23k
Build your cross-platform service in a week with App Engine
jlugia
232
18k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
31
2.7k
The Invisible Side of Design
smashingmag
302
51k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
37
2.6k
Art, The Web, and Tiny UX
lynnandtonic
303
21k
Transcript
Cloud Vision API×Go言語で 画像認識やってみました @akane_256
自己紹介 Twitter: @akane_256 Women Who Go Tokyoの共同主催者 Women Who Go
Tokyo 2016年6月発足したGo言語を勉強する女性コミュニティ 毎月1回、テーマにそってGoを学んでいます。 次回は、6/28(水)開催です♡
アジェンダ ・Cloud Vision APIについて ・どうやって使うか ・Go言語で画像認識
Cloud Vision APIについて 機械学習を使った画像の認識サービス。 Google Cloud Platformで、提供されています REST APIに画像認識の機械学習モデルが組み込まれていて、 APIにPOSTリクエストを送ると、リクエストした画像から
文字や顔などの特徴を検出し、情報を返却してくれます。
Cloud Vision APIについて
他の画像認識サービス Google Cloud Vision API Microsoft Cognitive Service Amazon Rekognition
IBM Visual Recognition 画像のラベル付け ◦ ◦ ◦ ◦ 画像のテキスト抽出 ◦ ◦ 顔認識 ◦ ◦ ◦ ◦ 顔の比較 ◦ ◦ 感情分析 ◦ ◦ ◦ ◦ ランドマークの認識 ◦ ◦ Google 以外の大手クラウドベンダーだと、MicrosoftやAmazon、IBMがサービスを提供し ています。 ※2017/6/20現在
どうやって使うか Cloud Vision APIの場合 1、GCPにプロジェクトを作成 2、Vision APIを有効化 3、サービスアカウントの認証情報を作成、ダウンロード(json) 4、OAuth2認証準備 5、リクエスト生成
6、レスポンスをいい感じに整形する
DEMO
まとめ ・画像認識サービスは、APIにリクエストを投げるだけで簡単に 色々な情報を取得することができる(タグ、ロケーション情報など) ・実装するのが楽しい ・顔認識の精度が高いので、色々なサービスに使えそう ・Googleさんすごい
ありがとうございました