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

ML Kit Barcode scanner picks up wrong scans sometimes

I am trying to make a barcode scanner using ML Kit and CameraX. My program would pick up the wrong scan once in a while and I have download several apps using ML Kit from google play and they have the same issue, I tested on other phones too. On the…
Kaden
  • 31
  • 5
2
votes
1 answer

Is locally embedded ML kit library making any network call to google server?

I would like to embed ML kit library to my android application. I read the terms and condition and noted a confusing statement. The statement from the link(https://developers.google.com/ml-kit/terms) is below Network request sender IP addresses.…
2
votes
1 answer

MissingPluginException while running Unit Test in Flutter

I'm using Google ML Kit Plugin for scanning barcode and qr code from given Image, I tried to write unit test for processImage method which is provided by the Google ML Kit Plugin. While running running my test code I'm facing this error. I attached…
MSARKrish
  • 3,355
  • 4
  • 30
  • 43
2
votes
2 answers

Swift/MLKit: how to initialize TextRecognizer?

I am trying to use MLKit in my project, but I can't initialize TextRecognizer. I tried this: textRecognizer = TextRecognizer.textRecognizer() Which gives a warning: 'textRecognizer()' is deprecated: Please use textRecognizer(options:)…
Another Dude
  • 1,204
  • 4
  • 15
  • 33
2
votes
0 answers

How to get ML Kit on Android onDevice language download size?

As in official google text translation app show language size before downloading onDevice language. I look at documentation but did not find any thing related size.
Aamir
  • 21
  • 3
2
votes
0 answers

Can I use ML Kit's face detection for devices without autofocus?

It seems that in live face detection on devices without autofocus ML Kit does not even let the camera start and throws an exception. Is there a way to use it on phones without autofocus? (Live face detection is compulsory)
javaOutlaw
  • 25
  • 6
2
votes
1 answer

How do I make the camera focus only inside the rectangle and read the text inside the rectangle only in a flutter?

How do I make the camera focus only inside the rectangle and read the text inside the rectangle and when reading the number according to a certain condition, for example, that the length of the number is 11, it is transferred to another page…
mohanad.99
  • 173
  • 1
  • 2
  • 9
2
votes
0 answers

How to stop the intent from opening multiple times after scaning QR code with camerax and image analysis use case?

I am creating a simple qr scanner using Camerax and google ML Kit. I am opening an intent after the string value is extracted from the QR code. The problem I'm facing is , the intent is opening multiple times. How do I resolve this? The following is…
user14698807
2
votes
1 answer

Drawing canvas within ImageAnalyzer

I've got a simple layout:
2
votes
2 answers

Can't use the ML Kit in android development

I'm trying to implement face detection in my Kotlin + Firebase app. I followed the ML Kit tutorial available in the ML site, but I keep getting an error related to the implementation in: java.lang.NoClassDefFoundError: Failed resolution of:…
user14544642
2
votes
1 answer

How to extract detected faces to bitmaps?

I have following code in place GraphicOverlay.kt open class GraphicOverlay(context: Context?, attrs: AttributeSet?) : View(context, attrs) { private val lock = Any() private val graphics: MutableList = ArrayList() var…
user158
  • 12,852
  • 7
  • 62
  • 94
2
votes
2 answers

Failed to initialize detector. Input tensor has type kTfliteFloat32 ML Kit

I'd like to know if it is possible to implement a darknet model (yolov4-tiny) converted to .tflite in android studio with ML Kit. I've tried to use this repository: https://github.com/googlesamples/mlkit/tree/master/android/vision-quickstart , but…
Cristian
  • 29
  • 1
  • 3
2
votes
1 answer

Error downloading/saving a remote ML model from Firebase

I'm using MLKit with iOS in a react native project. Basically using this code: https://firebase.google.com/docs/ml/ios/label-images-with-automl It used to work fine but now i get this error: downloadModel: notificationDidFail: name =…
2
votes
0 answers

Send image stream byte data flutter to native Android

I was trying to process the live camera feed from flutter so I needed to send the byte data to nativve Android for processing. I was concatenating the 3 planes as suggested by flutterfire. I needed the data to create an InputImage for the google ml…
Mr.Despicable
  • 373
  • 1
  • 4
  • 14
2
votes
0 answers

Using Firebase face detection to compare 2 faces

Can I use Firebase face detection to compare 2 faces (face pictures) and get the probability of them being the same ? My usecase is to check if the person is the same across multiple pictures. If not for using firebase ML, do you guys know what…
sharath
  • 3,501
  • 9
  • 47
  • 72