Firebase ML Model Downloader
Notice
This page is archived and might not reflect the latest version of the FlutterFire plugins. You can find the latest information on firebase.google.com:
https://firebase.google.com/docs/ml/flutter/use-custom-models
Preview Status
FlutterFire ML Model Downloader is a preview plugin; APIs may change in a future release.
#
What does it do?If you use custom TensorFlow Lite models, Firebase ML can help you ensure your users are always using the best-available version of your custom model. When you deploy your model with Firebase, Firebase ML only downloads the model when it's needed and automatically updates your users with the latest version.
Once downloaded, you can use packages such as tflite_flutter to interpret your model.
#
Installation#
1. Make sure to initialize FirebaseFollow this guide to install firebase_core
and initialize Firebase if you haven't already.
#
2. Add dependencyOn the root of your Flutter project, run the following command to install the plugin:
#
3. Rebuild your appOnce complete, rebuild your Flutter application:
#
Next StepsOnce installed, you're ready to start using ML Model Downloader in your Flutter Project.
View the Usage documentation to get started.