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

gradle build failed while adding firebase ML

My project dependencies are as below: dependencies { classpath 'com.android.tools.build:gradle:3.1.3' classpath 'com.google.gms:google-services:4.0.1' // NOTE: Do not place your application dependencies here; they belong // in the…
HunterChen
  • 27
  • 9
0
votes
2 answers

How to convert optimized_graph.lite file to .tflite file?

I followed the steps mentioned in the codelab and generated optimized_graph.lite file successfully. As per documentation we need TensorFlow Lite model for inference in a mobile app in the form of a .tflite file. How do we further generate the…
Monica M
  • 161
  • 3
  • 12
0
votes
0 answers

FirebaseMLException on recognize Text in Image with ML Kit on Android

I am using Google MLKit to recognize text from image. Unable to detect the text and falling in onFailure callback with exception as following com.google.firebase.ml.common.FirebaseMLException: batchAnnotateImages call failure I am using cloud…
0
votes
0 answers

Firebase ML Kit: Check failed: 'out_pix' Must be non NULL

I am using Firebase ML Kit Text Recognition API and getting the error which is added below during text recognition: A/native: image_util_common.cc:2757 Check failed: 'out_pix' Must be non NULL terminating. A/native:…
talha06
  • 6,206
  • 21
  • 92
  • 147
-1
votes
1 answer

Detecting Liveness - Eye Blinking and Smiling Probability with ML KIT Android

Using Google ml-kit for face detection in my android application. I have to also detect liveness for eye blink and smile. Below is the function: fun detectLiveness(image: Bitmap, face: Face): Float? { val aligned =…
Jaimin Modi
  • 1,530
  • 4
  • 20
  • 72
-1
votes
1 answer

Live OCR Flutter

I'm creating flutter app like google lens where I want to select specific word from image by touching on that word like google lens text recognization. How I can I achieve this. It will be good if it can be done with google or firebase ml kit.
-1
votes
1 answer

Read the text in an image in android without using third party service

hello i am developing an mobile application (android) to share medical reports. One part of the application is read the text in those reports (reports are in JPEG / image format). Since medical reports contain sensitive data i can't use a third…
udi
  • 3,672
  • 2
  • 12
  • 33
-1
votes
1 answer

try Makeup using MLKit ios swift

Any idea, how can put lipstick on lips in face detection. i have done put color but i want to show Glossy and Shiny. Any Idea about How can use texture and shades in MLKit ios app Simply I find Lips points and create CAShapelayer layer and after…
-1
votes
1 answer

How to extract text form a specific block of the image? [ML-Kit]

I m desperated. I have 16 TextViews. The goal is to take a picture of a prescription. What I want is to extract the right text for every Textview I have. This is my last problem. Here is the code of taking a photo, create a file, recognize the text…
Pyllic
  • 1
  • 2
-1
votes
1 answer

How to use Front Camera for Barcode Scanning in Firebase ML KIT

I have a case where i need to use ML Kit from firebase for barcode scanning. By default it is using back camera. How can i change it to front facing camera ? I have searched in google firebase ML KIT documentation and couldn't find any answer.
l33t.erna
  • 11
  • 3
-1
votes
1 answer

MLKit bad recognition

Hi I trained the model through Firebase MLKit. I have selected the option to train him for 13 hours. And despite this, when I get into the details, Firebase only shows me 1 hour during training hours. And after uploading to Android device, CameraX…
-1
votes
1 answer

Facebase MLKit face detection failed with front camera when using CameraX

I am trying to implement face detection using Firebase MLKit and CameraX ImageAnalysis. It works fine when using back camera, but when i tried with front camera, it detected nothing: val config = PreviewConfig.Builder() …
-1
votes
1 answer

Best way to develop a barcode scanning app on android that runs until Android 4.1 (API 16) devices

I'm thinking of using the Barcode Scanning API from Firebase ML Kit, then utilizing SQlite to store some information coming from my app. Is this possible and will run until Android 4.1 devices?
Leunam
  • 1
-1
votes
2 answers

Improving ML Kit Image labeling

I'm trying to detect items held in a hand using ML-Kit image labeling through a camera. If for example, I show it a soda can it picks up objects such as the hand, face, background etc... Things I'm not interested in and then doesn't find the object…
-1
votes
1 answer

how to use augmented reality to change the color of a qr code once it is detected using with arcore and ml kit firebase

I need to develop an android application that allows me to scan a barcode and if that barcode is saved in a predefined list change the color of the barcode to green and if not to red using arcore and ml kit
1 2 3
42
43