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
2
votes
2 answers

Keep receiving this error "Failed to initialize detector". Am I not loading the tflite model correctly?

I am trying to setup an ImageAnalyzer with my Android app so I can run object classification using Google's ML Kit API. The issue I am currently facing, as the title suggests, is constantly seeing the error "Failed to initialize detector". I've…
Phillip
  • 21
  • 6
2
votes
0 answers

Can I use ML Kit in ionic project?

The case is that, I want my app to extract barcode data from the provided input image. My project is based on Ionic 3 framework and angular. I was searching for a plugin of MLKit for my project, but didn't get any. Can anyone suggest me some plugins…
2
votes
1 answer

How to compare two Face object which gets from Google MLKit for Android

I used Google Android MLKit FaceDetectionActivity.java for detecting to facing on image. I'll try to find how similar the faces are by comparing the two photos. How can i do it ? Task> face1 = faceDetect(uri); Task> face2 =…
Erol
  • 21
  • 2
2
votes
1 answer

The text recognition of MLkIT does not recognize non-english text

I implemented the text recognition of MLkit on IOS but it could not recognize non-English text (e.x Arabic text). It works in English only. Here are the docs https://developers.google.com/ml-kit/vision/text-recognition/ios My code: let…
Mina Ayad
  • 114
  • 10
2
votes
3 answers

MLKit face detection 's algorithm

MLKit provides good API documentations and guides for Face detection (https://developers.google.com/ml-kit/vision/face-detection). However, I can not find any informations about the algorihms/baseline model or related research papers behind the…
hongdang
  • 87
  • 4
2
votes
1 answer

Android CameraX cropping media.Image?

I am using CameraX for capturing images then feeding into mlkit scanner to scan barcodes, I have created a crop rect and applied to the media.image but it doesn't seem cropping the frame... @androidx.camera.core.ExperimentalGetImage override fun…
All Іѕ Vаиітy
  • 24,861
  • 16
  • 87
  • 111
2
votes
1 answer

How to show progress of Model downloaded from ML Kit

I'm using google digital ink for handwriting recognition. The models that need to get downloaded once are of 20MB size and the download requires some time. Is there any way to show the progress of the download using a progressbar? My code is as…
kuro
  • 194
  • 9
2
votes
2 answers

Reduce tracking window using google mlkit vision samples

I would like to reduce the reduce bar code tracking window when using the google vision api. There are some answers here but they feel a bit outdated. I'm using google's sample:…
filur
  • 2,116
  • 6
  • 24
  • 47
2
votes
1 answer

Firebase MLKit migration - Undefined symbols for architecture x86_64

My setup with Firebase is based on Carthage and everything is working great with that. But now that we have migrated to MLKit (they do not have support for Carthage) we have included 2 of the libraries from MLKit that we need through Cocoapods, but…
Oxthor
  • 512
  • 4
  • 15
2
votes
1 answer

ML Kit iOS Face Detection Bug

I've been trying to use the Google ML Face Detection iOS Library but there is an issue with it not working with the front facing camera, it is only able to detect the faces when I use the back camera on my phone. I printed out the orientation and…
Wana_B3_Nerd
  • 613
  • 3
  • 7
  • 21
2
votes
1 answer

Not able to read more 30 chars barcode using Firebase ML Kit

I am trying to read barcode128 and QR code using firebase ML kit standalone API. I am able to read both the barcode and QR code. But if my barcode length exceeds more than 30-35 chars then the barcode scanner not able to detect the barcode. I am…
Sandip Armal Patil
  • 6,241
  • 21
  • 93
  • 160
2
votes
1 answer

Android ML Kit detection area

I downloaded the ML Kit sample code for Android and i'm having a hard time to go about setting a limited detection area for the live camera detection (I'm only interested in text recognition, i got rid of everything else). I need to limit the text…
F_Bass
  • 343
  • 4
  • 17
2
votes
0 answers

Face().boundingBox return negative Rect().left

I am using ML Kit to do face detection on live frames from camera. When i tried to Log the Rect() from the Face().boundingBox it returns negative coordinates if the face is in the right side of the picture. Face detected on left side will return…
Selmeny
  • 220
  • 3
  • 11
2
votes
1 answer

MLKit BarCode Sanner Implementation results in internal error when executing ML Kit tasks

Every call to scanner.process(image) is resulting in the onFailure call, with the following error: Error:com.google.mlkit.common.MlKitException: Internal error has occurred when executing ML Kit tasks Any further details or ideas as to why the…
topher217
  • 1,188
  • 12
  • 35
2
votes
1 answer

MLKit Object Detection is not detecting objects

MLKit by Google (without Firebase) is new, so I'm having trouble. I'm trying to follow this example here: https://developers.google.com/ml-kit/vision/object-detection/custom-models/android The app opens fine, & the camera works (As in, I can see…