Questions tagged [firebase-machine-learning]

Firebase Machine Learning is a mobile SDK that brings custom model deployment, AutoML Vision Edge, and Cloud Visions APIs to Android and iOS apps.

Firebase Machine Learning is a component of the Firebase suite of tools for cross-platform application development. Firebase Machine Learning was launched in June 2020, and grew out of . For ready-to-use on-device models, see .

Key capabilities

  • Host and deploy custom models

    Use your own TensorFlow Lite models for on-device inference. Just deploy your model to Firebase, and we'll take care of hosting and serving it to your app. Firebase will dynamically serve the latest version of the model to your users, allowing you to regularly update them without having to push a new version of your app to users.

    When you use Firebase ML with Remote Config, you can serve different models to different user segments, and with A/B Testing, you can run experiments to find the best performing model (see the iOS and Android guides).

  • Automatically train models

    With Firebase ML and AutoML Vision Edge, you can easily train your own TensorFlow Lite image labeling models, which you can use in your app to recognize concepts in photographs. Upload training data—your own images and labels—and AutoML Vision Edge will use them to train a custom model in the cloud.

  • Production-ready for common use cases

    Firebase ML comes with a set of ready-to-use APIs for common mobile use cases: recognizing text, labeling images, and identifying landmarks. Simply pass in data to the Firebase ML library and it gives you the information you need. These APIs leverage the power of Google Cloud Platform's machine learning technology to give you the highest level of accuracy.

Related tags

45 questions
9
votes
0 answers

Duplicate class found in module error when runnig app uses firebase ml kit

I am developing android application that uses firebase ml kit to recognize text from image after importing firebase libraries when i run the application I catch this error: Duplicate class com.google.android.gms.internal.vision.zze found in modules…
Mohamad
  • 117
  • 1
  • 7
3
votes
1 answer

Firebase ML Kit

Trying to use Firebase ml kit for label but getting error below with version; firebase_ml_vision: ^0.9.10 Error Launching lib\main.dart on sdk gphone x86 arm in debug mode... lib\main.dart FAILURE: Build failed with an exception. * What went…
2
votes
2 answers

Download remote custom model from firebase to local path for further off-line usage

while using the "Detect, track and classify objects with a custom classification model on Android" as explained here: link to tutorial I am bounded to use the remote model only while wi-fi network is connected (as supposes to be to save users from…
kfir
  • 635
  • 8
  • 27
2
votes
1 answer

Error downloading/saving a remote ML model from Firebase

I'm using MLKit with iOS in a react native project. Basically using this code: https://firebase.google.com/docs/ml/ios/label-images-with-automl It used to work fine but now i get this error: downloadModel: notificationDidFail: name =…
2
votes
0 answers

Firebase ml vision : Platform exception No model is bundled

I get the following error when i try to call the processImage() from imagelabeler As mentioned in their docs I have added the dependency but still it doesnt seem to be working. Error E/flutter ( 5149): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)]…
2
votes
1 answer

How do I select text from a scanned photo?

I'm in the process of writing an app with which you can take a picture of a text and then the text is scanned and transferred to a variable. I've done that with the plugin firebase_ml_vision and everything works. The problem I have is that I want to…
1
vote
1 answer

How to use firebase mlkit witn react-native?

I do find info on how to setup basic firebase (like @react-native-firebase/app) for react native, and there is info of how to install ML, but that is old info. The new ones, after 2020, would be ML Kit, or Firebase Machine Learning. For these new…
1
vote
1 answer

Firebase Text Recognition

I tried firebase ml kit and got error this TypeError: (0 , _ml.default)(...).cloudDocumentTextRecognizerProcessImage is not a function const onPressActionGallery = () => { ImagePicker.openPicker({ cropping: true, includeBase64:…
1
vote
1 answer

Use Firebase ML Vision to detect spots / dots / circles in an image

I'm using the firebase_ml_vision plugin for flutter. I need to detect all the spots / dots / solid circles on an image. With the example app, and using cloudImageLabeler i managed to detect that there are circles in the image with confidence of 75%+…
Theuno de Bruin
  • 202
  • 2
  • 12
1
vote
0 answers

How to publish AutoML(Firebase) model with node?

how can I publish the model not using the firebase UI but using the code? I'm already create a client witch fill and predicts my model using node.js. And from my client application I'm receiving my model by name like this: let remoteModel =…
1
vote
1 answer

FlutterFire Firebase_ml_vision: PlatformException(Error 13, com.firebase.ml, Barcode engine is nil., null)

I've been using the 'firebase_ml_vision' package to scan Qr codes in an Image Stream provided by the 'camera' package. Everything was fine until the update that happened in Nov. 6. In Android, I can still scan qr codes without problems. But in iOS,…
Luis Arízaga
  • 11
  • 1
  • 2
1
vote
2 answers

Flutter firebase_ml_vision errors with async function, getImage and pickedFile

How to resolve the following errors: The await expression can only be used in an async function.Try marking the function body with async. Instance member 'getImage' can't be accessed using static access. The argument type PickedFile can't be…
1
vote
1 answer

Tflite 200mb big

I am building a model which should classify flowers. So I created a model with Tensorflow: keras.layers.Conv2D(128, (3,3), activation='relu', input_shape=(imageShape[0], imageShape[1],3)), keras.layers.MaxPooling2D(2,2), …
1
vote
0 answers

how to create barcode scanner using imagestream (flutter)

I would like to create an Android apps using flutter/Dart which displays current camera stream on the upper half of the mobile screen and the result of the barcode on the bottom half. Here is what I would like to have: screenshot my current code…
0
votes
0 answers

Flutter - Fail to run Custom Model From Firebase into Flutter App

I call model from firebase through firebase_ml_model_downloader it work fine but when I try to work with my model through this flutter_tflite it giving error init model in first screen like this /// Initially get the lcoal model if found, and…
1
2 3