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
0 answers

How to solve "Encountered unresolved custom op: edgetpu-custom-op" exception

Im trying to implement my custom ML model in a kotlin app. I first make and train my model in GCP Vertex AI. After my model was ready i've export it as tensor flow model to the edge and then upload to my Firebase Machine Learning proyect. After that…
0
votes
0 answers

com.google.mlkit.vision.text.TextRecognizer com.google.mlkit.vision.text.internal.zzb.zza() on a null object reference

I'm trying to implement mlkit for text recognition. But while using val recognizer= TextRecognition.getClient() Throws this expection com.google.mlkit.vision.text.internal.zzb.zza() on a null object reference
0
votes
0 answers

Capture Screen shot every 30 sec on Android

How do I make the application take a screenshot every 30 seconds and then the following code here will run? (The code for the screenshot is also attached here) ImageView imgGallery; TextView textView; Bitmap img; String ScreenshotText; imgGallery =…
0
votes
1 answer

Firebase - Machine Learning and interest tracking to create an algorithm for sorting posts

One of my applications includes user-generated posts and functions in a similar way to Instagram. When a user opens the app they see a feed of posts sorted by date. This works when there just one small demographic using the app, but as the user base…
Globe
  • 514
  • 3
  • 17
0
votes
1 answer

Firebase Text Recognition for Web

Is it possible to use Text Recognition (https://firebase.google.com/docs/ml/recognize-text) for web projects. I'd like it to run the built-in model through images uploaded to the Storage.
Damjan Vučina
  • 352
  • 2
  • 12
0
votes
0 answers

I am facing an issue with Android Studio Camera

I am using firebase text recognition to recognize text from camera images, however sometimes when I take a picture, I get an error message. I do not understand what the error is, I have already resized the image. private void…
0
votes
2 answers

Cannot resolve symbol 'FirebaseVisionImage' error in Android Studio

I am currently making a basic google lens app and I'm struggling with this error. Is there a way to fix this? My dependencies: dependencies { implementation 'androidx.appcompat:appcompat:1.4.0' implementation…
0
votes
1 answer

Firebase deploy - Cannot publish a model that is not verified

I'm trying to deploy a .tflite to Firebase ML so that I can distribute it from there. I used transfer learning on this TF Hub model. I then followed this tutorial to convert the model .tflite format. This model gives good results in the python…
0
votes
1 answer

How to use the Cloud Functions in order to use Firebase Cloud vision

I just recently upgraded my Firebase account to blaze to try out the Machine Learning features of Firebase. I am following closely this guide by google: https://firebase.google.com/docs/ml/android/recognize-text (Reading this one is going to be…
0
votes
1 answer

FirebaseML Vision with SwiftPM

I was installing Firebase via Swift package manager trying to use FirebaseMLVision framework. I was wondering if this was removed or hasn't been added yet to Swiftpm. I selected Firebase, Firebase auth, and FirebaseMLModuleDownloader and couldn't…
0
votes
0 answers

Upload images to train ML Kit not possible

I am trying to use Firebase ML Kit in an app to label images. I want to upload training data to the dataset, but i always get the error, that my cloud bucket has to be in the region "us-central1". i am living in europe and cannot imagine that only…
paul
  • 1
0
votes
1 answer

Flutter: upgrading firebase_ml_vision dependency from 0.9.x to 0.10.0

My flutter project runs fine with Firebase ML Vision 0.9.x, if I try to upgrade to 0.10.0 (or higher), it yields the following errors: FAILURE: Build completed with 2 failures. 1: Task failed with an exception. ----------- * Where: Build file…
rgisi
  • 858
  • 6
  • 21
0
votes
2 answers

Can we use android ML Kit Image Labeling to detect a product

I am having a requirement from client that we need to detect our product box in cameraView. For that I am trying to use firebase ML Kit object detection. For now it detects general objects like door, sofa etc. I want to be able to just detect my…
0
votes
2 answers

inputImage.getByteBuffer() is null when using AndroidX Camera with MLKit

This is the code from my Activity class: @Override protected void onCreate(Bundle savedInstanceState) { requestWindowFeature(Window.FEATURE_NO_TITLE); super.onCreate(savedInstanceState); _cpf =…
dclipca
  • 1,739
  • 1
  • 16
  • 51
0
votes
0 answers

Convert JsonObjectRequest to an Object

I'm trying to implement by own JSON search backend. In ML Kit, the search engine uses Volley to process the request. Once a barcode is detected in detectedBarcode this is ran: LiveBarcodeScanningActivity.kt: …