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.8k
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
3.1k
ありがたいUIをもっと大事にしたい
yamacraft
2
2.4k
Firebase関連をCIでデプロイするときのTips
yamacraft
0
5k
開発用途で Realtime Databaseを 導入した話
yamacraft
2
4.6k
ciecleci/androidのOpenSSLに気をつけよう
yamacraft
0
720
Realtime Databaseに向いてる・向いてないサービス
yamacraft
0
960
社内用アプリでFirebaseを使っている話
yamacraft
2
2k
弊社のアプリ開発CI環境
yamacraft
0
1.2k
Other Decks in Technology
See All in Technology
Claude Codeを使った情報整理術
knishioka
20
12k
投資戦略を量産せよ 2 - マケデコセミナー(2025/12/26)
gamella
1
610
Digitization部 紹介資料
sansan33
PRO
1
6.4k
わが10年の叡智をぶつけたカオスなクラウドインフラが、なくなるということ。
sogaoh
PRO
1
320
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.3k
田舎で20年スクラム(後編):一個人が企業で長期戦アジャイルに挑む意味
chinmo
1
1.2k
_第4回__AIxIoTビジネス共創ラボ紹介資料_20251203.pdf
iotcomjpadmin
0
180
[PR] はじめてのデジタルアイデンティティという本を書きました
ritou
0
770
コールドスタンバイ構成でCDは可能か
hiramax
0
130
国井さんにPurview の話を聞く会
sophiakunii
1
330
Agentic AIが変革するAWSの開発・運用・セキュリティ ~Frontier Agentsを試してみた~ / Agentic AI transforms AWS development, operations, and security I tried Frontier Agents
yuj1osm
0
210
2025年のデザインシステムとAI 活用を振り返る
leveragestech
0
710
Featured
See All Featured
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2k
[SF Ruby Conf 2025] Rails X
palkan
0
680
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
420
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
74
Making the Leap to Tech Lead
cromwellryan
135
9.7k
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
The agentic SEO stack - context over prompts
schlessera
0
580
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
360
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
21k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
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Λ͏લޙͷ੍ޚ ʹਏ͍
࣍ճ·ͰʹϦϕϯδ͠·͢ʂ
͋ͬ…
Ͳ͔͜ͰϦϕϯδ͠·͢ʂ
͓͠·͍