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
Quickstart-android/mlkitについて
Search
yamacraft
July 02, 2018
Technology
2
4.7k
Quickstart-android/mlkitについて
2018/07/02(月)にGoogle Japanで開催したFirebase meetup #4にて発表したLTの資料です
yamacraft
July 02, 2018
Tweet
Share
More Decks by yamacraft
See All by yamacraft
なぜアプリのデザインとその実装はうまくいかないのか?
yamacraft
0
210
あんまり触れられてない気がする、Kotlin1.3の ありがたい追加機能
yamacraft
0
3k
ありがたいUIをもっと大事にしたい
yamacraft
2
2.3k
Firebase関連をCIでデプロイするときのTips
yamacraft
0
5k
開発用途で Realtime Databaseを 導入した話
yamacraft
2
4.6k
ciecleci/androidのOpenSSLに気をつけよう
yamacraft
0
710
Realtime Databaseに向いてる・向いてないサービス
yamacraft
0
930
社内用アプリでFirebaseを使っている話
yamacraft
2
2k
弊社のアプリ開発CI環境
yamacraft
0
1.2k
Other Decks in Technology
See All in Technology
コンパウンド組織のCRE #cre_meetup
layerx
PRO
1
260
生成AI時代のPythonセキュリティとガバナンス
abenben
0
130
Dify on AWS 環境構築手順
yosse95ai
0
120
頭部ふわふわ浄酔器
uyupun
0
110
プレイドのユニークな技術とインターンのリアル
plaidtech
PRO
1
350
Introdução a Service Mesh usando o Istio
aeciopires
1
280
AIプロダクトのプロンプト実践テクニック / Practical Techniques for AI Product Prompts
saka2jp
0
110
AI AgentをLangflowでサクッと作って、1日働かせてみた!
yano13
1
150
会社を支える Pythonという言語戦略 ~なぜPythonを主要言語にしているのか?~
curekoshimizu
3
660
デザインとエンジニアリングの架け橋を目指す OPTiMのデザインシステム「nucleus」の軌跡と広げ方
optim
0
110
Building a cloud native business on open source
lizrice
0
180
CNCFの視点で捉えるPlatform Engineering - 最新動向と展望 / Platform Engineering from the CNCF Perspective
hhiroshell
0
140
Featured
See All Featured
What's in a price? How to price your products and services
michaelherold
246
12k
A designer walks into a library…
pauljervisheath
209
24k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
10
890
Fireside Chat
paigeccino
41
3.7k
The Art of Programming - Codeland 2020
erikaheidi
56
14k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.1k
Making the Leap to Tech Lead
cromwellryan
135
9.6k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.1k
Build your cross-platform service in a week with App Engine
jlugia
233
18k
The World Runs on Bad Software
bkeepers
PRO
72
11k
Git: the NoSQL Database
bkeepers
PRO
431
66k
Balancing Empowerment & Direction
lara
5
700
Transcript
Quickstart-android/ mlkit ʹ͍ͭͯ @yamacraft
profile • @yamacraft (Wataru Yamada) • Mobile Application Engineer •
Freelance ʗ (private)team Y.G.E. • Getting Over It (Save 40%Off in steam) • 113(50+50+13)wins / BestTime 7min →
ެࣜαϯϓϧհʗղઆ͠·͢ ʢإೝূ෦ͷΈʣ ↑ إೝূαϯϓϧϓϩδΣΫτ࡞ΛఘΊͨஉ
firebase/quickstart-android
MLKit෦Λಈ͔͢ʹʁ
1. git clone͢Δ
2. firebaseϓϩδΣΫτͷ࡞ • ϓϩδΣΫτ໊ࣗମ ͳΜͰ͍͍ • Ճ͢ΔAndroidΞϓ Ϧͷύοέʔδ໊ʹ ҙ
3. ࣮ߦʂ • mlkit/appҎԼʹɺgoogle-service.jsonΛೖΕ Δ • configΛʮmlkit-appʯʹͯ͠Runʂ
ಈ͍ͨʂ
ެࣜαϯϓϧϓϩδΣΫτ͕ ͍ͬͯΔ͜ͱ
ެࣜαϯϓϧ͕͍ͬͯΔ͜ͱ • Χϝϥͷ੍ޚʢCamera1 APIʂʣ • onPreviewFrameͰϓϨϏϡʔը໘ͷBufferΛ FirebaseVisionFaceDetectorʹྲྀ͠ࠐΈ • ↑ҙਤతʹ্هͷݺͼग़͠Λ૿ͨ͢ΊʢϑϨʔϜඈͼ ࢭʁʣʹaddCallbackBuffer()Λେྔʹొ
• FirebaseVisionFaceDetectorͷ݁ՌΛݩʹɺϓϨϏϡʔը໘ʹ ݁ՌΛΦʔόʔϨΠ
LivePreviewActivityͷத ˞ͪΐͬͱࣗ৴ͳ͍ʜ
ίʔυͷେ͕Χϝϥ੍ޚʂ
MLKitΛ͏ʹ؆୯ MLKitΛ͏લޙͷ੍ޚ ʹਏ͍
࣍ճ·ͰʹϦϕϯδ͠·͢ʂ
͋ͬ…
Ͳ͔͜ͰϦϕϯδ͠·͢ʂ
͓͠·͍