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
0
votes
1 answer

Flutter - firebase_ml_vision - doesn't build on IOS - textRecognizer doesn't work

Flutter - Trying to get textRecognizer to work on IOS firebase_ml_vision - doesn't build on IOS pubspec.yaml: firebase_core: ^0.7.0 firebase_auth: ^0.20.1 cloud_firestore: ^0.16.0+1 firebase_storage: ^7.0.0 firebase_ml_vision:…
Elia Weiss
  • 8,324
  • 13
  • 70
  • 110
0
votes
1 answer

How can I use two Ml Kit detectors at the same time

I want to use image tagging and text recognition at the same time in my application. I have the following: fun initAnalyzer(cameraExecutor: Executor) { imageAnalyzer = ImageAnalysis.Builder().build().also { imageAnalysis -> …
0
votes
1 answer

Tensorflow Model output weights have different values

I am developing an Android application which requires an ML model integration.For it I am using TensorFlow lite for deployment.I am using Custom Model based Siamese Network for output and the output shape is [1 128].When I infer the tf lite model in…
0
votes
1 answer

Duplicate class when adding Firebase-ML to Gradle

I am totally new to android studio. I am trying to read some text using Firebase-ML, but I am getting duplicate class error when I try to run the program Error: Duplicate class com.google.android.gms.internal.vision.zzu found in modules…
0
votes
1 answer

Android Task not returning FirebaseVisionText type

I'm trying to pull the text and blocks from my image processed through a FirebaseVisionTextRecognizer, and even though the processing is successful, it doesn't seem to return as the correct type. Android studio reports that result is of type…
0
votes
2 answers

What is the meaning of 'iw' language code from firebase-ml-languageIdentifier? (flutter)

I'm trying to use the firebase ML language identifier. Whenever I type something in Hebrew, I get back the language code 'iw' instead of 'he'. I tried to look for the API or the meaning of the 'iw' code in the documentation, but couldn't find…
0
votes
1 answer

Vision image process returns nil ML Kit Firebase

I am trying to build a text recognizer app in iOS with the Firebase ML Kit. I have tried following some tutorials, but no luck. I keep getting the following error at the line indicated (return self.result): Thread 1: Fatal error: Unexpectedly found…
0
votes
1 answer

Flutter firebase_ml_vision build failed with exception

Android build keeps crashing with firebase_ml_vision being the dependency that causes it. Below is the output from the debug console when running a build for android. > In project 'app' a resolved Google Play services library dependency depends on…
James
  • 2,516
  • 2
  • 19
  • 31
0
votes
0 answers

Can't get face detection to work properly using Flutter and Firebase_ml_vision

I've been struggling with this for about 24 hours now, and have come to the end of my ideas on how to address it. I've written code which loads an image from Firebase, and detects a face in it - no problem at all. But when I then look to take a…
0
votes
0 answers

How to do FirebaseVisionImage.fromBytes(bytes, metadata) from firebase_vision_image package of flutter

Hi I am using firebase_vision_image package of flutter and right now I do confused, is there a way to change FirebaseVisionImage.fromFile(myImage file) to FirebaseVisionImage.fromBytes(bytes, metadata)? I have used…
wahyu
  • 1,679
  • 5
  • 35
  • 73
0
votes
0 answers

How to speed up respond of image processing result from camera when using firebase_ml_vision of flutter package

I am using a package flutter of firebase_ml_vision. Is there a way to get fast respond of result from face detection? Here is the part of the code final faceDetector = FirebaseVision.instance.faceDetector( FaceDetectorOptions( …
wahyu
  • 1,679
  • 5
  • 35
  • 73
0
votes
1 answer

Firebase Tensorflow Lite Model

I am building a Tensorflow model to predict a certain feature for each user. So, I am making a model for each user of the application. I was wondering how to I upload the Tensorflow lite model to the Firebase in such a way that each user can access…
0
votes
2 answers

Firebase ML image classification probabilities got a weird output (not in probabilities) ----Update 1

I'm new to ML kit Firebase, I'm using the Firebase image classification custom model ML kits. There have 6 different objects in my custom model The custom model .tflite file was tested in python and it works perfectly. print(np.min(first_image),…
0
votes
1 answer

MLKit rotate face image so its straight (iOS and Android)

I'm developing an app where I use Firebase's MLKit to do face detection. I then take the detected face and run it through a custom tensorflow model The problem is my custom tensorflow model expects the faces to be straight on. If a user's face is…
-1
votes
0 answers

Firebase ML custom model deployment - security

I've spent a lot of time training my custom model. Lately, I've gotten worried about security and how easy it would be to someone to reverse-engineer my application and steal my model file if I bundled it together with my APK if I added it to…
1 2
3