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
84
ChatGPTで簡単! 余興に使えるAWSサーバーレスアプリ開発入門
ayasamind
0
460
コミュニティがもたらすエンジニアの あり方・働き方とは
ayasamind
0
65
明星和楽2019/エンジニアが活躍する世界とエンジニアの意義
ayasamind
0
37
テストなしでそれ動いてるの?って言われてテストはじめました
ayasamind
0
430
NuxtとLaravelを連携する上でやったこと
ayasamind
1
920
AlexaからはじめるServerless
ayasamind
0
580
ALISのサーバーサイドアーキテクチャをのぞいてみる!
ayasamind
1
1.5k
vuenight.pdf
ayasamind
0
580
Other Decks in Technology
See All in Technology
初心者向けAWS Securityの勉強会mini Security-JAWSを9ヶ月ぐらい実施してきての近況
cmusudakeisuke
0
130
SSMRunbook作成の勘所_20241120
koichiotomo
3
160
Introduction to Works of ML Engineer in LY Corporation
lycorp_recruit_jp
0
140
10XにおけるData Contractの導入について: Data Contract事例共有会
10xinc
6
660
強いチームと開発生産性
onk
PRO
35
11k
Shopifyアプリ開発における Shopifyの機能活用
sonatard
4
250
AI前提のサービス運用ってなんだろう?
ryuichi1208
8
1.4k
OCI Vault 概要
oracle4engineer
PRO
0
9.7k
Python(PYNQ)がテーマのAMD主催のFPGAコンテストに参加してきた
iotengineer22
0
520
New Relicを活用したSREの最初のステップ / NRUG OKINAWA VOL.3
isaoshimizu
3
630
Taming you application's environments
salaboy
0
200
OCI Network Firewall 概要
oracle4engineer
PRO
0
4.2k
Featured
See All Featured
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
250
21k
Being A Developer After 40
akosma
87
590k
Designing for Performance
lara
604
68k
Building Applications with DynamoDB
mza
90
6.1k
Ruby is Unlike a Banana
tanoku
97
11k
Optimising Largest Contentful Paint
csswizardry
33
2.9k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
BBQ
matthewcrist
85
9.3k
StorybookのUI Testing Handbookを読んだ
zakiyama
27
5.3k
Thoughts on Productivity
jonyablonski
67
4.3k
Fashionably flexible responsive web design (full day workshop)
malarkey
405
65k
Teambox: Starting and Learning
jrom
133
8.8k
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ͷ։ൃڥΛ࡞Δͷඇৗʹେม…
͋Γ͕ͱ͏͍͟͝·ͨ͠!