Questions tagged [google-mlkit]

ML Kit is Google’s machine learning SDK for mobile platforms, iOS and Android, used for dynamic text recognition and translation, object detection, barcode scanning etc. When asking questions, use platform-specific tags, iOS or Android.

ML Kit is Google’s machine learning SDK for mobile platforms, iOS and Android, used for dynamic text recognition and translation, object detection, barcode scanning etc.

Tag Usage

The tag is to be used with or tags. When adding additional tags to questions, please use the iOS- or Android-specific tags.

Reference

600 questions
1
vote
1 answer

"Internal error: Unexpected failure when preparing tensor allocations" - Firebase MLKIT - Android - Local Model load failed

I am using Firebase MLKIT to implement the ".tflite" model locally in-app. The model.tflite file is around 132 MB in size. It shows the error cause: onFailure: java.lang.IllegalStateException: Internal error: Unexpected failure when preparing…
1
vote
1 answer

need help finishing activity in a Firebase QR code scanner in Kotlin

I'm trying to create a QR code scanner for my company to scan QR codes on used parts during manufacturing. I currently have it where it will scan the code and update text views on the main activity, but after scanning, I have to manually hit the…
1
vote
1 answer

Automate Face detection testing with Firebase ML Kit

Currently we are working on a project using Firebase ML Kit to detect faces in frames sent from the camera. We would like to test how well the pre-trained model works on our own test data, and we tried to write a test for that that would run the…
Rick
  • 11
  • 2
1
vote
1 answer

Is firebase OnSuccessListener run on a separate thread?

I'm using google's firebase for object detection. You run it something like this: Task> result = mDetector.detectInImage(FirebaseVisionImage.fromBitmap(dcBitmap)) …
confused
  • 713
  • 1
  • 5
  • 16
1
vote
1 answer

How to make smooth overlay interface while using the text detection using Firebase MLKit in android

I have integrated firebase MLKit in my android application. I'm using the on-device TextRecognizer API to detect the text on the live camera feed. It detects the text but it takes a long time to process the image(from 300 milliseconds up to 1000…
Dharmendra
  • 33,296
  • 22
  • 86
  • 129
1
vote
1 answer

zzrb.zza resulting in a divide by zero arithmetic exception for every other cameraX analyzer.analyze frame

So I am getting back on a project that I haven't touched in months. I was messing around with it a few days ago with no issue (at least after my most recent post before this). For whatever reason today though, I went to run it and i've been…
1
vote
1 answer

Update Firebase MLKit Custom Model file through API

In the current POC that I have made, I update the Firebase MLKit Custom Model uploaded on the Firebase console manually. So now every time I train the model with new data, I have to go manually upload the newer model tflite file on the console. Is…
Tejas
  • 585
  • 3
  • 15
1
vote
4 answers

How can I find context and start a new Activity from Android firebase ML-Kit BarcodeScannerProcessor onSuccess

I am using the quickstart-android code provided by google but after many attempts I cam unable to find a context that is not returning null. The BarcodeScannerProcessor is not itself an Activity, so I have attempted to create an instance of the…
0
votes
0 answers

Why iOS GoogleMLKit/TextRecognition is using older version of FlatBuffers

For iOS, in googlemlkit/textrecognition version 2.2.0, the MLKitTextRecognition framework file shows the older version of FlatBuffers as follows: ... Not enough Too much third_party/openssl/boringssl/src/crypto/x509/x509name.c name= FlatBuffers…
rizzz86
  • 3,862
  • 8
  • 35
  • 52
0
votes
0 answers

How to prevent barcode from being read twice in MlKit?

I'm having an issue with my MlKit barcode reader, I'm reading one barcode per time, like once a barcode is read, I open a dialog and stop the camera. The issue is that the reader is too fast and reads the barcode value twice and i would prevent…
NiceToMytyuk
  • 3,644
  • 3
  • 39
  • 100
0
votes
0 answers

@capacitor-mlkit/barcode-scanning doesn't open front camera in my Ionic capacitor project

I have a small project. I am constantly reading qr code and making transactions. I have a problem here. I try to open the front camera and read the qr code, but it only opens the rear camera every time. How can I fix this problem? Example…
0
votes
0 answers

Can information extracted with Google's ML pose detection API be converted to point values in 3D coordinate system?

I'm trying to draw a 3D torso object through information extracted by Google's ML pose detection API. Google's pose detection API recognizes a person's body in a picture, still image, and video stream and extracts information about predefined…
max.back
  • 1
  • 1
0
votes
0 answers

How do I make a bounding box match the image when zooming the image?

I am creating a app where we can fetch image from gallery and text will be recognised from it, now upon adding zooming feature the detected text stays static, so is there a way i can track the text from image live, i was using google_ml_kit so far,…
0
votes
1 answer

How to read CODE32 with Ml Kit in Android?

Is there a way to read Code32 (Italian Pharmacode) by using Ml Kit? I was trying to convert the Code39 to Code32 but the reader returns completly different barcode from the read one, like by reading a Code32 like "A042028050" it returns a Code39…
NiceToMytyuk
  • 3,644
  • 3
  • 39
  • 100
0
votes
0 answers

Business card recognition. How can I extract data from a business card using Google ML Kit in Flutter?

I'm working on a business card project in Flutter. My goal is to digitally extract data from a photo or an image from the gallery on a mobile phone, including fields like: {name, surname, address, title1, title2, city, country, company number, fax,…