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
32
votes
5 answers

Duplicate class com.google.android.gms.internal.vision.zze found in modules

I am trying to build an app with openCV and Firebase ML Kit. But I get the following error while building project: Duplicate class com.google.android.gms.internal.vision.zze found in modules jetified-play-services-vision-20.0.0-runtime.jar…
Tugay
  • 2,057
  • 5
  • 17
  • 32
24
votes
3 answers

Google ML Kit: Waiting for the text recognition model to be downloaded

[mlkit] I am implementing the "On-device text recognition" from the Google Machine Learning Kit for android. I followed this guide but every time try to detect text I get the exception "Waiting for the text recognition model to be downloaded. Please…
M.Paunov
  • 1,737
  • 1
  • 15
  • 19
21
votes
3 answers

Undefined symbols for architecture x86_64 flutter

I'm working in an app flutter. Android working fine but in ios no. I need some help to run this on ios mobile. I'm using lib: google_maps_flutter: ^0.5.27+3 and firebase_ml_vision: ^0.9.3+8. Xcode 11.4.1 and Mac os Catalina 10.15.4. Someone knows…
Dansp
  • 1,378
  • 2
  • 14
  • 36
21
votes
2 answers

Can ML Kit for Firebase be used for handwritten text?

Concerning the new ML Kit for Firebase, all the examples I have seen from Google is recognizing "machine" text, but I was wondering if it is possible to use the new ML Kit for Firebase to extract handwritten characters as well? I think not, but I…
zaifrun
  • 931
  • 9
  • 21
19
votes
2 answers

Access denied finding property "vendor.camera.aux.packagelist"

I copy part of the firebase-mlkit sample code only for Image labeling. When I run on my Nokia 6.1 and got the following error message:- type=1400 audit(0.0:4015): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs"…
jlou
  • 191
  • 1
  • 1
  • 4
19
votes
3 answers

Firebase ML kit give FirebaseMLException: Waiting for the text recognition model to be downloaded. Please wait

I'm use firebase ml kit for text recognition but give this exception on emulator and real device. W/System.err: com.google.firebase.ml.common.FirebaseMLException: Waiting for the text recognition model to be downloaded. Please wait. at…
Radesh
  • 13,084
  • 4
  • 51
  • 64
14
votes
4 answers

Android Studio ML kit cannot load OCR module

I am working on an android app that involves ML kit. I went through the tutorial on how to set up Android Studio to work with Firebase. Then I headed to use the text recognition API. Here is the code that I am having in some button click listener: …
13
votes
3 answers

Translate Firebase MLKit Bounding box coordinates to screen view coordinates

I am using the FirebaseVision Object detection to detect things from the CameraX camera preview. It is detecting things find but I am trying to draw the bounding box of the items detected over the camera preview. In doing so the bounding box that…
tyczj
  • 71,600
  • 54
  • 194
  • 296
11
votes
4 answers

Android MLKit - Internal error has occurred when executing Firebase ML tasks

Hi I have a custom model that im using in an android app, how ever when i try to run it, an MLkitExceptions is thrown, the log output for said error is the following: Internal error has occurred when executing Firebase ML tasks My java code for my…
Avrgebro
  • 848
  • 1
  • 8
  • 16
11
votes
4 answers

MLKit Firebase android - How to convert FirebaseVisionFace to Image Object (like Bitmap)?

I have integrated MLkit FaceDetection into my android application. I have referred below URL https://firebase.google.com/docs/ml-kit/android/detect-faces Code for Face Detection Processor Class is import java.io.IOException; import…
Mani murugan
  • 1,792
  • 2
  • 17
  • 32
10
votes
3 answers

ML Kit Vision on-device text recognition not downloading model: Waiting for the text recognition model to be downloaded. Please wait

I know there are many similar questions (here, here or here) but even though I've followed the suggested instructions I'm still facing the same issue. Even though it seems I have the project configured correctly, the Firebase ML Kit seems to have…
10
votes
2 answers

flutter real time face detection

I am currently developing an app that requires real time face detection. Right now I have the mlkit library in the app and I am using the firebase face detector. At the moment, it produces an error every time I try to detect a face from file:…
Ian Leshan
  • 103
  • 1
  • 1
  • 6
9
votes
1 answer

Use TensorFlow python code with android app

I currently have TensorFlow code in python and are trying to find the best way to add this to an android app. As I see it there are a few options to do this. I've been looking at ML kit (https://developers.google.com/ml-kit/). But I'm not sure if…
emillime
  • 531
  • 6
  • 21
8
votes
0 answers

Firebase mlKit Barcode scanner mlKit with camera X not working on android Pie

I'm trying to scan QR code using Firebase ML kit but I cannot start camera on android Pie (Nokia 6.1 Plus). However, same code is working properly on Android Oreo Redmi 6 A This is my gradle: implementation…
8
votes
1 answer

Get Video and Audio buffer separately while recording video using front camera

I dug a lot on SO and some nice blog post But seems I am having unique requirement of reading Video and Audio buffer separately for further processing on it while recording going on. My use case is like When the user starts the Video recording, I…
1
2 3
42 43