Questions tagged [firebase-mlkit]

[DEPRECATED, use `firebase-machine-learning` or `google-mlkit` instead] ML Kit for Firebase is Google's machine learning toolkit for Android and iOS that provides on-device, cloud, and custom model serving capabilities using TensorFlow Lite.

UPDATE: Since June, 2020, Google offers ML Kit's on-device APIs through a new standalone SDK. Cloud APIs, AutoML Vision Edge, and custom model deployment will continue to be available via Firebase Machine Learning. Learn more

Resources

643 questions
0
votes
0 answers

How can use Toast in onProgressUpdate of AsyncTask?

I coded image labeling of all the images of gallery using firebase ml kit. But it was so long task that I did dealing with AsyncTask. I wanted to show progress of image labeling in onProgressUpdate() by Toast, but it is not working. Essentially, I…
0
votes
1 answer

How to get image using setRepeatingRequest?

I'm trying to create a barcode scanner with the camera2 and ML-kit API from Google. I've finally managed to get the preview working, but have no idea how to get the picture itself and pass that on to the ML-kit API. I've tried using the image reader…
B.Cakir
  • 567
  • 1
  • 5
  • 19
0
votes
1 answer

Main thread messes up sorting

Dispatching the queue messes up the order in the array as noted below. I'm trying to rank the array and then be able to translate it. So far its not working: let top5 = Array(labels.sorted{ $0.confidence > $1.confidence}.prefix(upTo:5)) for…
0
votes
1 answer

Different results when running both iOS and Android versions of MLKit Text Recognition On-Device API with the same image as input

this is more a question for the Firebase/MLKit team. When using the same image as input for the iOS and Android versions of MLKit Text Recognition On-Device API, I do get different results on the bounding boxes information (x,y,width,height)…
Joao
  • 1
0
votes
1 answer

creating a firebase vision image from image class Java android

so am trying to create a barcode scanner with google ML Kit that scans qr codes using android built in camera but the FirebasevisionImage class takes a media.image and i dont know how to create it . Here is my code. public class QrActivity extends…
0
votes
0 answers

I am trying to retrieve data from qr codes and place in my firestore database. I am currently using the ML kit scanner from google firebase

Does anyone know how to retrieve data on these qr codes and use them to update collections on my google firestore database. This would be very helpful. Below is the code I am using and because ML kit is in its beta etc I cannot find any tutorials on…
user10175770
0
votes
1 answer

Google Vision Image Labeling API Error

I keep receiving an error of "API key expired. Please renew the API key" on IOS when I run my app on my phone. It only happens when I try to use the cloud's image labeling. I have renewed the key multiple times and have waited quite some time but…
0
votes
2 answers

How to use multiple Custom Model on device using TensorFlow Lite?

I want to ship multiple custom model with the app. All the models have same purpose. I don't want to host it as of now. Custom Model code github FirebaseLocalModelSource localModelSource = new…
Anurag Singh
  • 6,140
  • 2
  • 31
  • 47
0
votes
2 answers

Firebase MLKit for Text Detection in iOS error

I want to use MLKIT (for text recognition) of firebase in my iOS app. I have download and test sample app. But when I use core ml with my custom project where I capture an image from iPhone camera and use ML Kit function call on this image the…
thousand
  • 11
  • 3
0
votes
1 answer

Can firebase facedetection used for authentication

I want to use Firebase Face detection in Android. As far as I read, it can detect faces. Can I save the detected face and compare it next time for authentication?
Sweety Bertilla
  • 972
  • 10
  • 35
0
votes
0 answers

Can I copy the original faces (pixels) inside the face.getboundingbox() in a Bitmap?

I am looking at the FaceDetection example from ML Kit and I want to copy the face (perhaps using the GraphicOverlay?) of the recognized person. Is there any way to do it? I am not only interested in the face landmarks, but in the actual face…
Panos
  • 1
  • 1
0
votes
1 answer

Firebase ML Kit - Character recognition support for various alphabets?

Does the character recognition API contained in the Firebase ML Kit have support for different alphabets? I've tested with the English alphabet, French alphabet, and the cyrillic alphabet as well, and the characters returned as a result of executing…
VictorB
  • 117
  • 1
  • 5
0
votes
0 answers

ML Kit Barcode Detector not recognizing ITF barcodes with 4 or less digits?

We are using the ML Kit Barcode Detector successfully in Android for a while now but noticed that the FirebaseVisionBarcodeDetector doesn't seem to recognize ITF (Interleaved 2 of 5) barcodes with 2 or 4 digits (it works with 6 or more symbols). As…
0
votes
1 answer

Passing image information from Unity to Android to use MLKit

I'm having trouble using MLKit with Unity. What I'm trying to do is get image information from webcamtexture, pass the pointer to a Texture2D, then get raw bytes from it and pass them to a plugin where face recognition classes are. But no faces are …
0
votes
0 answers

MLKit Face Tracking cannot find faces in video stream when AVCaptureConnection videoOrientation is set to portrait

I'm trying to do some front camera face tracking with Metal / Scenekit as the renderer (yes, reinventing snapchat) I'm using Firebase for the face tracking I have an issue whereby setting the AVCaptureConnection videoOrientation causes there to be…