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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
yamacraft
July 02, 2018
Technology
5k
2
Share
Quickstart-android/mlkitについて
2018/07/02(月)にGoogle Japanで開催したFirebase meetup #4にて発表したLTの資料です
yamacraft
July 02, 2018
More Decks by yamacraft
See All by yamacraft
なぜアプリのデザインとその実装はうまくいかないのか?
yamacraft
0
220
あんまり触れられてない気がする、Kotlin1.3の ありがたい追加機能
yamacraft
0
3.2k
ありがたいUIをもっと大事にしたい
yamacraft
2
2.4k
Firebase関連をCIでデプロイするときのTips
yamacraft
0
5.1k
開発用途で Realtime Databaseを 導入した話
yamacraft
2
4.7k
ciecleci/androidのOpenSSLに気をつけよう
yamacraft
0
740
Realtime Databaseに向いてる・向いてないサービス
yamacraft
0
980
社内用アプリでFirebaseを使っている話
yamacraft
2
2k
弊社のアプリ開発CI環境
yamacraft
0
1.2k
Other Decks in Technology
See All in Technology
freee-mcpを Local→Remote で出してわかった MCP認可実装のリアル
terara
3
910
まだ道半ば、AI-DLCを歩み始めている話
news_it_enj
2
210
TROCCOで始めるクラウドコストを民主化するためのFinOps
tk3fftk
1
260
OpenID Connectによるサービス間連携
takesection
0
130
ルールやカスタム機能、どう使う?理想の出力を引き出すために今知りたいIBM Bob 5つの機能
muehara
0
110
『家族アルバム みてね』における インシデント対応との向き合い方 / Approach incident response in Family Album
kohbis
2
240
管理アカウント単一運用からAWS Organizationsに移行するの大変で滅
hiramax
0
290
イベントで大活躍する電子ペーパー名札 〜その3〜 / ビジュアルプログラミングIoTLT vol.23
you
PRO
0
160
GitHub Copilot のこれまでとこれから: From Copilot to Collaborative Agents
yuriemori
1
230
Don't Just Patch — MOTTAINAI! Learn Security from Laravel CVE Diffs
codmoninc
0
150
APIテストとは?
nagix
0
130
最低限これだけ押さえれ大丈夫_Claude Enterprise/Team企業展開ガバナンス入門
tkikuchi
1
430
Featured
See All Featured
Ruling the World: When Life Gets Gamed
codingconduct
0
240
AI: The stuff that nobody shows you
jnunemaker
PRO
7
660
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.9k
Navigating Weather and Climate Data
rabernat
0
200
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.5k
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
Being A Developer After 40
akosma
91
590k
Leo the Paperboy
mayatellez
7
1.8k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
350
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
390
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
190
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.9k
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Λ͏લޙͷ੍ޚ ʹਏ͍
࣍ճ·ͰʹϦϕϯδ͠·͢ʂ
͋ͬ…
Ͳ͔͜ͰϦϕϯδ͠·͢ʂ
͓͠·͍