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
JSでFirebaseのML Kitを使う
Search
MasayaYoshino
February 21, 2019
Technology
0
1.7k
JSでFirebaseのML Kitを使う
MasayaYoshino
February 21, 2019
Tweet
Share
More Decks by MasayaYoshino
See All by MasayaYoshino
近頃のお金の重なり業界のことを調 べてみた話
ayasamind
0
80
ChatGPTで簡単! 余興に使えるAWSサーバーレスアプリ開発入門
ayasamind
0
440
コミュニティがもたらすエンジニアの あり方・働き方とは
ayasamind
0
63
明星和楽2019/エンジニアが活躍する世界とエンジニアの意義
ayasamind
0
34
テストなしでそれ動いてるの?って言われてテストはじめました
ayasamind
0
420
NuxtとLaravelを連携する上でやったこと
ayasamind
1
900
AlexaからはじめるServerless
ayasamind
0
570
ALISのサーバーサイドアーキテクチャをのぞいてみる!
ayasamind
1
1.5k
vuenight.pdf
ayasamind
0
580
Other Decks in Technology
See All in Technology
Data Migration on Rails
ohbarye
7
4.5k
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
5
49k
DFTの実践的基礎理論
pfn
PRO
2
100
Trusted Types API と Vue.js
lycorptech_jp
PRO
1
300
リファクタリングへの耐性が高いモデルベースの統合テストの紹介 / Model-Base Integration Test for Refactoring
yuitosato
5
1.5k
なんで、私がAWS Heroに!? 〜社外の広い世界に一歩踏み出そう〜
minorun365
PRO
1
540
Emacs x Nostr
hakkadaikon
1
120
Amazon FSx for NetApp ONTAPを利用するにあたっての要件整理と設計のポイント
non97
1
130
dbt-coreで実現するCore DataMartsのデータモデリング〜dbt編〜 / Core DataMarts Modeling with dbt-core
i125
3
1.2k
Overview of file type identifiers
ange
0
210
小規模に始めるデータメッシュとデータガバナンスの実践
kimujun
2
260
ExaDB-D dbaascli で出来ること
oracle4engineer
PRO
0
3.6k
Featured
See All Featured
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
GitHub's CSS Performance
jonrohan
1030
460k
It's Worth the Effort
3n
183
27k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.8k
No one is an island. Learnings from fostering a developers community.
thoeni
19
3k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
250
21k
10 Git Anti Patterns You Should be Aware of
lemiorhan
653
59k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
246
1.3M
Making Projects Easy
brettharned
115
5.9k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
225
22k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
3
360
VelocityConf: Rendering Performance Case Studies
addyosmani
325
24k
Transcript
JSͰFirebaseͷML KitΛ͏ 2019/02/21 #0 Fukuoka.Firebase@LTΠϕϯτ
ࣗݾհ
ࣗݾհ גࣜձࣾFusic ΤϯδχΞ ٢ խ (Yoshino Masaya) @ayasamind
ࣗݾհ
ͪΐͬͱࠂ
ͪΐͬͱࠂ ֶੜ͚AlexaϋοΧιϯΠϕϯτ 3/27ʙ։࠵!!!
JSͰFirebaseͷML KitΛ͏ 2019/02/21 #0 Fukuoka.Firebase@LTΠϕϯτ
࣍ ɾࣗͱFirebase ɾML Kitಋೖ·Ͱ ɾML KitΛ࣮ࡍʹ༻͢Δ ɾ·ͱΊ
ࣗͱFirebase
ظΠϯλʔϯੜͷϓϩάϥϛϯάମݧͱͯ͠ ࣗͱFirebase Authetication(Facebook࿈ܞ) ༻ͨ͠Firebaseͷػೳ
ظΠϯλʔϯੜͷϓϩάϥϛϯάମݧͱͯ͠ ࣗͱFirebase ɾϓϩάϥϛϯάະܦݧऀ͕ɺ1िؒͰFacebookೝূΛ ɹ࡞Δ͜ͱ͕Ͱ্͖ͨɺڭ͑Δίετ͔ͬͨɻ ɾΠϯλʔϯੜʹͱͬͯɺීஈΑ͘͏ͷΛ࡞Εͨ ɹܦݧʹͳͬͯɺࣗ৴͕͍͍ͭͯͨɻ ײ
։ൃ߹॓Ͱ࡞ͬͨPWAͰ ࣗͱFirebase Firebase CLI Hosting ༻ͨ͠Firebaseͷػೳ
։ൃ߹॓Ͱ࡞ͬͨPWAͰ ࣗͱFirebase ɾແྉSSLԽ͕ͱͯخ͍͠ɻ ɾGoogleͳ͚ͩ͋ͬͯPWA͕࡞Γ͍͢ ײ
ML Kitಋೖ·Ͱ
ࠓճLTΛ͢Δʹ͋ͨͬͯ ML Kitಋೖ·Ͱ FirebaseͬͯଞʹͲΜͳػೳ͕͋Δ͚ͬ
ࠓճLTΛ͢Δʹ͋ͨͬͯ ML Kitಋೖ·Ͱ FirebaseͬͯଞʹͲΜͳػೳ͕͋Δ͚ͬ
Google Analytics Authentication Realtime Database Cloud Firestore Cloud Storage Hosting
Cloud Functions ML Kit App Indexing Dynamic Links ML Kitಋೖ·Ͱ ࠓճLTΛ͢Δʹ͋ͨͬͯ Crashlytics Performance Monitoring Test Lab Crash Reporting Cloud Messaging Predictions Remote Config A/B Test Notifications Invites
ࠓճLTΛ͢Δʹ͋ͨͬͯ ML Kitಋೖ·Ͱ ΊͪΌଟ͍ɺɺɺ
ࠓճLTΛ͢Δʹ͋ͨͬͯ ML Kitಋೖ·Ͱ શମతʹWebΞϓϦ։ൃΛ͘͢͢͠Δͷ͕େ
ࠓճLTΛ͢Δʹ͋ͨͬͯ ML Kitಋೖ·Ͱ ML KitɺGoogleͷػցֶशϞσϧΛ Firebaseͷ͋ͷ؆୯͞Ͱ͑Δͷ͔ͳ
ࠓճLTΛ͢Δʹ͋ͨͬͯ ML Kitಋೖ·Ͱ ML Kitɺ৮ͬͯΈΑ͏☺
ML Kit ͬͯΈΑ͏ͱࢥͬͨΒ… ML Kitಋೖ·Ͱ
ML Kit ͬͯΈΑ͏ͱࢥͬͨΒ… ML Kitಋೖ·Ͱ Web͕ͳ͍…
ࠔͬͨ… ML Kitಋೖ·Ͱ SwiftKotlinॻ͚ͳ͍͠ɺ ͦͦFirebaseͰ؆୯ʹ͍͍ͨΜ͚ͩͲͳ͋
ML Kitಋೖ·Ͱ NativeScriptͳΒ͍͚Δ͔…
ML Kitಋೖ·Ͱ
ͳΜ͔͍͚ͩͦ͏ʂ ML Kitಋೖ·Ͱ ͪΌΜͱML KitʹରԠͯ͠Δ☺
ML KitΛͬͯΈΔ͜ͱʹ ML Kitಋೖ·Ͱ NativeScript-Vue + FirebaseͰػցֶशʂ
ML KitΛ࣮ࡍʹ༻͢Δ
ML KitΛ࣮ࡍʹ༻͢Δ ॳظઃఆ NativeScript-VueͷϓϩδΣΫτ࡞
ML KitΛ࣮ࡍʹ༻͢Δ ॳظઃఆ NativeScript-Plugin-FirebaseΛՃ $ tns plugin add nativescript-plugin-firebase
ML KitΛ࣮ࡍʹ༻͢Δ ॳظઃఆ app.jsʹҎԼͷεΫϦϓτΛՃ
ML KitΛ࣮ࡍʹ༻͢Δ ॳظઃఆ FirebaseͷϓϩδΣΫτΛ࡞ Firebase͕ൃߦͯ͘͠ΕΔϑΝΠϧΛઃஔ͢Δɻ ɾiOSɹGoogleService-Info.plistϑΝΠϧΛઃஔɻ ɾAndroidɹgoogle-services.jsonϑΝΠϧΛઃஔɻ ॳظઃఆ ※ैྔ՝ۚͷBlazeϓϥϯͷΞοϓάϨʔυ͕ඞཁ
ॳظઃఆऴྃ! ML KitΛ࣮ࡍʹ༻͢Δ
ࠓճಈ͔͢ͷҎԼͷೋͭ ML KitΛ࣮ࡍʹ༻͢Δ ɾText Recognition(จࣈೝࣝ) ɾFace Recognition(إೝࣝ)
Text Recognition(จࣈೝࣝ) ML KitΛ࣮ࡍʹ༻͢Δ
ML KitΛ࣮ࡍʹ༻͢Δ Text Recognition
ML KitΛ࣮ࡍʹ༻͢Δ Text Recognition σϞ
Face Recognition(จࣈೝࣝ) ML KitΛ࣮ࡍʹ༻͢Δ
ML KitΛ࣮ࡍʹ༻͢Δ Face Recognition
ML KitΛ࣮ࡍʹ༻͢Δ Face Recognition ฦ͖ͬͯͨ
ML KitΛ࣮ࡍʹ༻͢Δ Face Recognition σϞ
·ͱΊ
·ͱΊ ɾNativeScriptΛ͑JSͰFirebaseͷ ɹML KitΛ͏͜ͱ͕Ͱ͖Δ!!! ɾػցֶशશະܦݧͰFirebaseΛ͑ɺ ɹGoogleͷςΩετղੳإղੳΛΞϓϦʹΈࠐΉ ɹ͜ͱ͕Ͱ͖Δɻ ɾͱ͍͑ɺNativeͷ։ൃڥΛ࡞Δͷඇৗʹେม…
͋Γ͕ͱ͏͍͟͝·ͨ͠!