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
4
votes
3 answers

Bad performance ML Kit barcode scanning

I'm using Googles ML Kit for barcode scanning, and gathered the code below from the examples and tutorials provided by Google. However, the performance is dramatic; it takes several seconds, can be 10, 15 seconds, to recognize a barcode. Is there…
Bruce Wayne
  • 435
  • 3
  • 7
4
votes
3 answers

Dynamic module feature and ML Kit Crash on App open

App has ML Kit functionality (translation). I'm trying to reduce the app size by introducing a dynamic module feature, on demand loading. Following this guide Added 'com.google.mlkit:playstore-dynamic-feature-support:16.0.0-beta1' to base apk's…
toasty
  • 142
  • 1
  • 1
  • 10
4
votes
3 answers

Missing required module 'MLKit' error while using a framework that uses MLKit

Recently I created a iOS Framework called "MLKit Framework" that uses MLKit Face Detection library. In order to achieve that, I just imported the library in Podfile according to documentation. As expected, that created a xcworkspace called MLKit…
4
votes
2 answers

Set width and height of ImageAnalyzer and PreviewView the same

I've got a simple setup: preview = new Preview.Builder().build(); preview.setSurfaceProvider(mPreviewView.createSurfaceProvider()); imageAnalysis = new ImageAnalysis.Builder().setTargetResolution(new…
4
votes
0 answers

Android Camera2 ImageReader is not working with MediaRecorder on Samsung S21 family

For new Samsung S21 devices Image analysis is not working together with video recording. If I'm adding surfaces for my capture session: //surface of TextureView for preview addTarget(previewSurface) //surface of media recorder for video…
Denis Nek
  • 1,874
  • 3
  • 19
  • 21
4
votes
4 answers

Using Google ML-Kit On-Device Text Recognition in Flutter

Is it possible to use Google ML-Kit On-Device Text Recognition in Flutter? All of the tutorials and resources I am finding online are all firebase_ml_vision, but I am looking for one that uses the no-cost OCR from Google ML-Kit. How would I do…
4
votes
1 answer

FirebaseMLVisionTextModel has been deprecated in favor of MLKitTextRecognition

I am using Firebase MLKit TextRecognition API. There is a warning when trying to update 'pod Firebase/MLVisionTextModel'. How to update Firebase MLKit library? [!] FirebaseMLVisionTextModel has been deprecated in favor of MLKitTextRecognition
Omer Faruk Ozturk
  • 1,722
  • 13
  • 25
4
votes
2 answers

Using GoogleMLKit 0.61.0 thru CocoaPods is downgrading Firebase libs to 6.20.0

Using GoogleMLKit 0.61.0 thru CocoaPods is downgrading Google Firebase libs from the latest one defined in my project to older version detailed below before MLKit - Firebase/Analytics (6.27.0) after MLKit - Firebase/Analytics (6.20.0) before MLKit…
4
votes
2 answers

App crashes when try to read the text on a image using firebase ml vision

I'm tring to read text from the image using firebase ml vision and I use image_picker to get the image from gallery. image_picker: ^0.6.1+4 firebase_ml_vision: ^0.9.2+1 Get the image File imageFile = await ImagePicker.pickImage(source:…
Udith Shalinda
  • 487
  • 1
  • 8
  • 20
3
votes
1 answer

How to make MLKIT not detect people in the background movement?

I could not find any function to count different people faces in 1 video real time. I want to detect head rotation but if there are 2 people, the getHeadEulerAngleY will detect the person in the background whose head is moving. This is my detector…
K.Sopheak
  • 22,904
  • 4
  • 33
  • 78
3
votes
2 answers

Saving the input image from Face detection as a file? [Flutter + Google ML Kit Face Detection]

is it possible to save the processed image as a File? Here is what I'm trying to do, our app have a KYC (Know your customer) and we implemented the face detection to make the users do several poses. What I want is to save them as an image file and…
Cedrick
  • 65
  • 7
3
votes
1 answer

No objects detected with Google MLKit on iOS

I am new to Google MLKit and want to detect bills/receipts for Android and iOS. I use Object Detection and this model. Detection is done by Google MLkit and then interpreted by react-native-vision-camera On android in java I have no problem, the…
3
votes
2 answers

Face Detection and tracking with Camera X and ML Kit - Android

To implement face detection expressed in this blog with Camera X and ML Kit, with custom overlay. That enables the shutter button only when the face is in the bounding box. Expected result video and Starter source code with CameraX…
Sharan
  • 1,055
  • 3
  • 21
  • 38
3
votes
2 answers

MlKitAnalyzer for Android CameraX is slow for text-recognition

I am implementing the new MlKitAnalalyzer based on the description and links of CameraX 1.2 found here. Following the example I made an analyzer for Barcode scanning, and this works very well. But if I try to implement a text-scanner with…
Gober
  • 3,632
  • 3
  • 26
  • 33
3
votes
1 answer

-[FBLPromise HTTPBody]: unrecognized selector sent to instance 0x600001afa700 error on non-initial launch. Google Translate MLKit

I am trying to add Google MLKit Translate into my SwiftUI Project. I am already using firebase via SPM and only after the initial launch get this error: -[FBLPromise HTTPBody]: unrecognized selector sent to instance 0x600001afa700 Here is my…
Mcrich
  • 75
  • 9
1 2
3
39 40