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

600 questions
7
votes
2 answers

How to know Tensorflow Lite model's input/output feature info?

I'm mobile developer. And I want to use various Tensorflow Lite models(.tflite) with MLKit. But there are some issues, I have no idea of how to know .tflite model's input/output feature info(these will be parameters for setup). Is there any way to…
7
votes
2 answers

Google ML kit Barcode Scanner example app for android not able to detect barcodes

I'm trying to use the Google ML kit barcode detection feature. For this, I have installed this example app provided by google. I have also connected my app to one of my firebase projects. When I open the app and go to LivePreviewActivity in that…
CuriousHash
  • 185
  • 2
  • 12
6
votes
3 answers

ML Kit Vision on-device text recognition not downloading model: Waiting for the text recognition model to be downloaded. Please wait

I know there are many similar questions (here, here or here) but even though I've followed the suggested instructions I'm still facing the same issue. Even though it seems I have the project configured correctly, the Firebase ML Kit seems to have…
6
votes
1 answer

Android CameraX - face detection while recording video

I'm using the new library CameraX with Firebase ML Kit in Android and detecting faces every frame the device can. So I set CameraX like that: CameraX.bindToLifecycle(this, preview, imageCapture, faceDetectAnalyzer) All working flowless, now, while…
6
votes
3 answers

Android MLKit - Internal error has occurred when executing Firebase ML tasks

Hi I have a custom model that im using in an android app, how ever when i try to run it, an MLkitExceptions is thrown, the log output for said error is the following: Internal error has occurred when executing Firebase ML tasks My java code for my…
Avrgebro
  • 718
  • 1
  • 6
  • 15
6
votes
0 answers

Firebase Ml-kit face detection port to C++ possible?

I want to port the Java/Kotlin implementation of Firebase ml-kit to C++, for testing purposes with PC. I figured it must be some TensorFlow Lite model and I should be able to adapt from official TensorFlow source to use it. But where is the face…
Peacher Wu
  • 161
  • 1
  • 4
6
votes
0 answers

How to detect single-digit numbers with Firebase ML Kit on Android?

I have followed the setup guide for the Firebase ML Kit on Android and created a simple app that can recognize text on bitmap images, using the on-device text recognizer. It works pretty well out of the box, but there is one case where it doesn't…
Daniel
  • 804
  • 1
  • 12
  • 28
6
votes
3 answers

Google Firebase MLKit for Xamarin

Is there Google Firebase MLKit Vision API support for Xamarin? I was trying to implement barcode reader using MLKit. While searching I got an impression that Google is going to stop supporting for Mobile Vision API.
Nitha Paul
  • 1,347
  • 1
  • 13
  • 29
6
votes
1 answer

How to pause barcode scanning in android ML-kit when using ByteBuffer from SurfaceView

Context I'm using the Android firebase-ml-vision to scan barcodes using SurfaceView with continuous ByteBuffer of pictures frames. I used the ML kit quickstart project as a starting point and it works great. The objective of my project is to…
6
votes
1 answer

ML Kit Barcode scanning: Invalid image data size

I would like to detect a barcode within a captured image. I capture an image using android's camera2. Following this, the image's metadata is retrieved and the image is saved to the device. The metadata is all passed along to the next activity,…
Michael
  • 79
  • 2
  • 7
6
votes
2 answers

Text recognition from a live video stream using ML kit (with CMSampleBuffer)

I'm trying to modify the on-device text recognition example provided by Google here to make it work with a live camera feed. When holding the camera over text (that works with the image example) my console produces the following in a stream before…
dave
  • 365
  • 1
  • 5
  • 16
5
votes
0 answers

How to draw bounding boxes after processing image with OCR using react-native-firebase-mlkit vision

I have successfully detected text elements on an image taken with react-native-camera. The vision().textRecognizerProcessImage(photoUri) is successfully returning the detected text. // take the photo from the camera takePicture = async () => { …
ceessay
  • 180
  • 2
  • 10
5
votes
0 answers

Unable to load custom tflite model using Firebase ML Kit

I am integrating object detection using ML kit i am creating custom tflite model using firebase ML and follow this doc https://firebase.google.com/docs/ml-kit/android/use-custom-models for loading custom model but getting below error while loading…
5
votes
1 answer

How to Distinguish Slashed Zero From Eight (0->8) in OCR

I'm using ML Kit for Firebase for my Android app (ReCalc: Receipt Calculator) and it performs very well except in the case of slashed zero. In around half or more of the cases it recognizes slashed zero as eight. One idea I have is to slice the…
Trayan Momkov
  • 321
  • 2
  • 8
5
votes
0 answers

face detection while recording video using firebase ml-kit

I want to detect faces while recording a video and wants to save video with overlay stickers. Currently,I'm using Firebase ml-kit for face detection https://github.com/firebase/quickstart-android/tree/master/mlkit/app I'm able to detect face on…
Developer
  • 151
  • 8
1
2
3
39 40