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

Android ML Kit: TextRecognizer without Google Play Services

I've got a requirement to utilize Text Recognition services on an offline Android device without Google Play Services. I had been following this guide from Google on how to get it working. However, you will notice that the application will…
1
vote
0 answers

Does ML-KIT includes vision camera text recognition API?

I want to turn on the camera and extract the text. As it was here https://developers.google.com/vision On the deprecated page of vision API it says that vision API been included in ML-KIT but I have found only image to text recognition. How to use…
Bo Z
  • 2,359
  • 1
  • 13
  • 31
1
vote
1 answer

How analize preview rectangle camerax android?

I am a beginner developer. I'm sorry for my english. I am trying to make a barcode reader application. I use MLKit and CameraX. I want to analyze only the part of the preview that is in the rectangle. Now the preview is being analyzed in full. I…
1
vote
0 answers

ML Kit has detected that you seem to pass camera frames to the detector as a Bitmap object. This is inefficient

I am trying to implement a Barcode scanner by using the Google ML Kit latest SDK and passing captured barcode bitmap image inside the below method. However, the ML kit keeps throwing errors like below. Does anyone have a solution to resolve this…
Faldu Jaldeep
  • 545
  • 2
  • 15
1
vote
1 answer

Minimum android device specs to use google ml kit

I'm looking for minimum device specs required for an android device to run google ml-kit without any problems. I could not find it on their official website. Some of them I required to know were : Architecture OS RAM Min Camera resolution If I…
1
vote
2 answers

Import ML Kit dependencies on iOS

I'm following this documentation to implement ML Kit for iOS, but I can't figure out which import should I use to create a VisionImage. The pod I am using is GoogleMLKit/BarcodeScanning. I have tried with the following imports without luck: import…
svprdga
  • 2,171
  • 1
  • 28
  • 51
1
vote
2 answers

How to resolve MlKitException: Internal error (Caused by: java.lang.IllegalStateException: Image is already closed)

How to resolve MlKitException: Internal error? I am trying to use TextRecognizer in Camerax ImageAnalysis. When I call TextAnalyzer.process() it fails with ml-kit internal error. On printing the stackframe I see "Image is already closed" exception.…
srt10
  • 95
  • 1
  • 9
1
vote
1 answer

ML-KIT Text recognision for non english language

I am trying to build a Japanese ocr using Google ML-Kit. It is working for english but for Japanese I don't have the luck. Can you please provide an example to do the same? Thank you!
1
vote
1 answer

'FirebaseCore/FirebaseCore.h' file not found in RNFIRMessaging.h

I want to archive ios part of a project written in react-native but in file 'RNFIRMessaging.h' I get an error 'FirebaseCore/FirebaseCore.h' file not found. I use GoogleMLKit/TextRecognition framework which requires that I use use_frameworks! in my…
1
vote
2 answers

Android MLKit face detection not detecting faces when using Bitmap

I have an XR app, where display shows the camera (rear) feed. As such, capturing the screen is pretty much the same as capturing the camera feed... As such, I take screenshots (Bitmaps) and then try to detect faces within them using Googles…
pookie
  • 3,796
  • 6
  • 49
  • 105
1
vote
1 answer

Getting the sum from receipt with ML-Kit

For my project the user takes a picture of a receipt and it returns the date of purchase,the sum and the name of the shop where you made your purchase. My idea was that I will take the largest or second largest Int that ML-Kit returns, as that is…
dkiwikid
  • 95
  • 1
  • 9
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
  • 29
  • 3
1
vote
2 answers

Google MLKit Pose Detection with React Native

I wanted came across this guide https://developers.google.com/ml-kit/vision/pose-detection/classifying-poses and I wanted to develop a cross plateform app with pose classification using react native. I haven't been able to find any wrapper from…
Sévrain CHEA
  • 61
  • 1
  • 8
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

google ml kit duplicate dependency

after adding com.google.mlkit:face-detection:16.0.7 I have below log error what should I do? Duplicate class com.google.firebase.components.Component found in modules jetified-firebase-common-16.0.3-runtime…
Abbas Asadi
  • 265
  • 1
  • 5
  • 14