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
8
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
1 answer

ML Kit text recognition: How to get text based on position in image?

I'm making an app for myself to scan receipts, and put the data in a database. I tried using ML kit text recognition, and it works pretty well. However I'm having problems extracting the data from the recognized text. I'll explain with an…
Daantje
  • 225
  • 2
  • 10
7
votes
1 answer

Why FirebaseVisionImage.fromMediaImage() produces OutOfMemoryError

CameraX is build, analyze() method is called and an image is passed and then closed (deleted) with close() method. From this image FirebaseVisionImage is created and passed for processing (text recognition). Code samples and code labs differs and…
7
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…
7
votes
1 answer

How to recognise digits using Firebase ML Kit custom model

My android app have a need to read the text in a image and I am using the Firebase ML Kit for that purpose, it works well for the text which is in standard Roman script but it completely fails to read the digits in the below font family. Especially…
7
votes
1 answer

Android Mobile Vision API and ML Kit installed without Google Play Services

I have an Android app that uses Android Mobile Vision API to recognise text (OCR). However, the device that the app is installed on has no Google Play Services installed. I want to find out if it is possible to install ONLY Mobile Vision API or ML…
Pingpong
  • 7,681
  • 21
  • 83
  • 209
7
votes
2 answers

Unable to detect a barcode from an image using Firebase's MLKit

So, i'am trying to scan a barcode with MLKit, but there are no barcodes in the barcode variable in the completion block of self.barcodeDetector?.detect. The UIImage(named: "barcode.jpg") exists and is loaded correctly (and has barcodes). So what am…
Arjen M
  • 123
  • 1
  • 10
7
votes
0 answers

Text Recognization :: Google ML Kit does not recognizes seven segment display numbers and decimals

I am trying to get numbers from seven segment display image using ML kit but it does not recognizes the numbers or decimals from the image. It recognizes the normal text and number from image but not from the seven segment display image. Please…
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
  • 385
  • 1
  • 4
  • 17
6
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
  • 322
  • 5
  • 16
6
votes
3 answers

ML kit face recognition not working on IOS

I'm working on an app that does facial recognition. One of the steps include detecting the user smile. For that, I am currently using google's Ml Kit. The application works fine on Android platform but when I run on Ios (Iphone Xr and others) it…
6
votes
0 answers

How to compare two image's of an object using Firebase ML kit in android

I'm implementing a project which can be based on Detecting faces and I want to use Firebase Ml Kit to detect the faces. But When I select the One image and search over the Camera and gallery images and get the same image object result. and my…
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
  • 381
  • 2
  • 5
6
votes
0 answers

Firebase MLKit Android from an external camera

I believe I found a bug in the Firebase MLKit for Android, but perhaps other people have some insight into it. I am currently streaming video from a drone to my Android device. It is being decoded to YUV420-888 with MediaCodecand written to an…
hellowill89
  • 1,538
  • 2
  • 15
  • 26
6
votes
0 answers

How to detect only one character in Firebase ML-Kit?

I set up ML-Kit like AndroidExample and using on-device recognition mode. It's working so well. but If we have a single character like 'A','5','K','9' it can't recognize anything! it only works for more than one length of string! I need to recognize…
Hossein Yousefpour
  • 3,827
  • 3
  • 23
  • 35
1
2
3
42 43