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

600 questions
19
votes
2 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…
Tuqay
  • 1,713
  • 2
  • 11
  • 25
19
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
  • 883
  • 8
  • 20
17
votes
1 answer

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
  • 171
  • 1
  • 1
  • 4
14
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
  • 10,690
  • 3
  • 42
  • 60
14
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
  • 977
  • 9
  • 14
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,661
  • 2
  • 16
  • 30
10
votes
2 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
  • 787
  • 1
  • 8
  • 32
10
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: …
9
votes
1 answer

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
  • 66,691
  • 50
  • 172
  • 271
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
  • 529
  • 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
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
  • 83
  • 1
  • 5
7
votes
1 answer

Why FirebaseVisionImage.fromMediaImage() produces OutOfMemoryError

CameraX is build, analyze() method is called and an image is passed and then closed (deleted) with close() method. From this image FirebaseVisionImage is created and passed for processing (text recognition). Code samples and code labs differs and…
7
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…
7
votes
2 answers

Unable to detect a barcode from an image using Firebase's MLKit

So, i'am trying to scan a barcode with MLKit, but there are no barcodes in the barcode variable in the completion block of self.barcodeDetector?.detect. The UIImage(named: "barcode.jpg") exists and is loaded correctly (and has barcodes). So what am…
Arjen M
  • 123
  • 1
  • 10
1
2 3
39 40