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
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
12k
AWSと生成AIで学ぶ!実行計画の読み解き方とSQLチューニングの実践
yakumo
2
600
Hardware/Software Co-design: Motivations and reflections with respect to security
bcantrill
1
160
Scrum Guide Expansion Pack が示す現代プロダクト開発への補完的視点
sonjin
0
760
【Oracle Cloud ウェビナー】ランサムウェアが突く「侵入の隙」とバックアップの「死角」 ~ 過去の教訓に学ぶ — 侵入前提の防御とデータ保護 ~
oracle4engineer
PRO
0
150
Node vs Deno vs Bun 〜推しランタイムを見つけよう〜
kamekyame
1
530
20260114_データ横丁 新年LT大会:2026年の抱負
taromatsui_cccmkhd
0
310
AI に「学ばせ、調べさせ、作らせる」。Auth0 開発を加速させる7つの実践的アプローチ
scova0731
0
320
Kaggleコンペティション「MABe Challenge - Social Action Recognition in Mice」振り返り
yu4u
1
570
純粋なイミュータブルモデルを設計してからイベントソーシングと組み合わせるDeciderの実践方法の紹介 /Introducing Decider Pattern with Event Sourcing
tomohisa
1
1.2k
クラウドセキュリティの進化 — AWSの20年を振り返る
kei4eva4
0
130
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.3k
Featured
See All Featured
Making Projects Easy
brettharned
120
6.5k
What the history of the web can teach us about the future of AI
inesmontani
PRO
0
400
A better future with KSS
kneath
240
18k
GraphQLの誤解/rethinking-graphql
sonatard
74
11k
RailsConf 2023
tenderlove
30
1.3k
How to train your dragon (web standard)
notwaldorf
97
6.5k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
100
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
82
GraphQLとの向き合い方2022年版
quramy
50
14k
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Λ͏લޙͷ੍ޚ ʹਏ͍
࣍ճ·ͰʹϦϕϯδ͠·͢ʂ
͋ͬ…
Ͳ͔͜ͰϦϕϯδ͠·͢ʂ
͓͠·͍