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

261 questions
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
  • 659
  • 5
  • 25
2
votes
3 answers

ValueError: Expect x to be a non-empty array or dataset (Tensor Flow lite model maker on Collab)

I am following this tutorial on creating a custom Model using TensorFlow lite Model Maker on Collab. import pathlib path = pathlib.Path('/content/employee_pics') count = len(list(path.glob('*/*.jpg'))) count data =…
Mena
  • 1,772
  • 14
  • 36
2
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
  • 161
  • 9
2
votes
0 answers

Download MLKit Face Detection Models At Runtime

I'm using the MLKit Face Detection SDK for Android to detect the contours of a user's face. When following this guide (https://developers.google.com/ml-kit/vision/face-detection/android), it shows how developers can (1) bundle the face detection…
Luke
  • 1,962
  • 1
  • 15
  • 26
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…
2
votes
1 answer

How to fix `duplicate class com.google.firebase.components`?

I started to use the MLKit barcode scanner in my project and get the Duplicate class error when trying to run the app. Also, I tried to exclude firebase-common and exclude firebase-components, but it didn't help, because it breaks push notification…
2
votes
1 answer

How to Translate text without losing newline characters?

I'm using Firebase ML Kit Translate to translate some text from Japanese to English. I'm just using the example code they have in their documentation: func translate (input: String) { print(input) translator.translate(input) {…
alamodey
  • 12,615
  • 22
  • 79
  • 104
2
votes
3 answers

Unable to get bar-code bounding box in right position on overlay Surfaceview

I'm using my CameraX with Firebase MLKit bar-code reader to detect barcode code. Application Identifies the bar-code without a problem. But I'm trying to add bounding box which shows the area of the barcode in CameraX preview in real-time. The…
2
votes
1 answer

Run multiple image processor using firebase MLKit

I'm trying to detect objects and text using the firebase MLKit on a live camera feed in android. There are specific recognizers(FirebaseVisionTextRecognizer, FirebaseVisionObjectDetector) to process the image. If I use these recognizers one by one…
Dharmendra
  • 31,033
  • 22
  • 83
  • 126
2
votes
1 answer

FirebaseMLVision: Undefined symbols for architecture x86_64:

I'm developing cordova plugin for biometric authentication and now I need to integrate FirebaseMLVision with FirebaseMLVisionFaceModel. When I added the static frameworks into the project I got errors like this: I have researched a lot about this…
grighakobian
  • 514
  • 4
  • 8
1
vote
1 answer

CustomImageLabelerOptions is missing. Where can I find it?

I'm attempting to use a modified version of the google example for image categorization. I've got everything working except for one thing. The CustomImageLabelerOptions class is not found. I've got implementation…
Lee
  • 11
  • 2
1
vote
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…
gintophi
  • 106
  • 3
1
vote
0 answers

Extracting video frames from a live video for real time facial landmark analysis in android

I am building a real-time facial landmark detection app using android's ML Kit. Currently, I can capture the video using android camerax library. To enable real-time facial landmark detection for the captured video, I need to extract the video…
Prajwal V
  • 11
  • 2
1
vote
1 answer

MediaPipe vs MLKit Vision vs ARCore

There seems to be a lot of overlap between these 3 Google libraries. According to their sites: MediaPipe: MediaPipe offers cross-platform, customizable ML solutions for live and streaming media. ARCore: With ARCore, build new augmented reality…
softcode
  • 2,999
  • 8
  • 29
  • 59
1
vote
0 answers

google mlkit faceDetector in startImageStream broken - Flutter

I new in flutter and I want to count the frequency of blinks in the user's eyes. I use startImageStream to get the image and mlkit. this is my code: await cameraController.startImageStream((CameraImage img) => _proccessImageToBlinking(img)); …
hodyah
  • 11
  • 2
1 2
3
17 18