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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
yamacraft
July 02, 2018
Technology
5.1k
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
230
あんまり触れられてない気がする、Kotlin1.3の ありがたい追加機能
yamacraft
0
3.2k
ありがたいUIをもっと大事にしたい
yamacraft
2
2.5k
Firebase関連をCIでデプロイするときのTips
yamacraft
0
5.1k
開発用途で Realtime Databaseを 導入した話
yamacraft
2
4.7k
ciecleci/androidのOpenSSLに気をつけよう
yamacraft
0
740
Realtime Databaseに向いてる・向いてないサービス
yamacraft
0
990
社内用アプリでFirebaseを使っている話
yamacraft
2
2.1k
弊社のアプリ開発CI環境
yamacraft
0
1.2k
Other Decks in Technology
See All in Technology
[RSJ26] Flow as Flow: Modeling Robot Velocity Fields as Probability Velocity Fields
keio_smilab
PRO
0
130
internal/testlog で遊ぼう
rokuosan
0
400
VPCでもFloatingIPを使いたいんだ
y_kotani
1
130
わたしが知り合いゼロの勉強会に 行けるようになるまで
r5ni4
2
840
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
20k
GopherCon @シアトル に行ってきました
logica0419
0
440
Claude Teamプランの コスト最適化を考える
rfdnxbro
1
820
When Token Pruning is Worse than Random: Understanding Visual Token Information in VLLMs
sansantech
PRO
0
160
会計事務所と顧問先の契約関係をOIDC・OAuthで表現する
terara
0
520
Microsoft MVP プログラムを紹介するから目指す人増えてくれ
tsubakimoto_s
0
150
どんな手を使っても絶対間に合わせるスケジューラ
asari194617
0
1.5k
AWSとAzureのマルチクラウド活用における強い味方___AWS_Kiroを使った二刀流スキル作成.pdf
duelist2020jp
1
140
Featured
See All Featured
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
310
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
4
510
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
6.1k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.1k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
420
Done Done
chrislema
186
16k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
590
Abbi's Birthday
coloredviolet
3
9.6k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
210
For a Future-Friendly Web
brad_frost
183
10k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
290
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.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Λ͏લޙͷ੍ޚ ʹਏ͍
࣍ճ·ͰʹϦϕϯδ͠·͢ʂ
͋ͬ…
Ͳ͔͜ͰϦϕϯδ͠·͢ʂ
͓͠·͍