June 2018
Beginner to intermediate
394 pages
9h 2m
English
ML Kit follows the same standards of other Firebase tools in the toolchain, which means to adding Firebase SDK to your application and then adding the tool dependency as required.
Check out Chapter 1, Keep It Real - Firebase Realtime Database to find out how to add Firebase SDK to your Android Studio project. After completing that successfully, you can add the following ML Kit dependency:
dependencies { // ... implementation 'com.google.firebase:firebase-ml-vision:16.0.0'}
Firebase recommends adding the following metadata tag if you are using an on-device API. It helps to download the ML model to the device from Play Store services:
<application ...> ... <meta-data android:name="com.google.firebase.ml.vision.DEPENDENCIES" ...
Read now
Unlock full access