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

Flutter Google-Ml-Kit-plugin - FaceDetector not working in iPhone cameras

If we take photos in iPhone final XFile? image = await picker.pickImage( source: ImageSource.camera, maxWidth: 300, maxHeight: 300, preferredCameraDevice: CameraDevice.front, ); final List faces = await…
Angel
  • 21
  • 4
1
vote
2 answers

MLKit giving less accurate results than Google Vision

Been testing MLKit and have noticed less accurate results when compared with Google Vision. One thing I do have enabled is languageHints for Google Vision e.g. image: { content: base64String …
1
vote
4 answers

CocoaPods could not find compatible versions for pod "FirebaseCore" : error on running pod install for flutter iOS build

I am getting this error below on running "pod install" with the latest firebase_core sdk, on flutter for iOS. I cleared the Pod, symlinks folders and deleted the Podfile.lock file, and ran pod install, but the result is the same as below. What is…
Jai Thomso
  • 51
  • 1
  • 2
1
vote
2 answers

ML Kit barcode Scanner don't stop when first is detected

I'm trying to get two values ​​from cameraX and ML Kit using the barcode scanner (rawValue and format) but I can't stop the scan and insert data into room when the first one is detected. My code inserts in room as many elements as many barcodes are…
1
vote
1 answer

Google ML Kit, BarcodeScannerOptions Adding barcode reading type dynamically

I added select buttons. However, I cannot transfer the data here to the options section. my codes are as follows. How can I add the dark parts programmatically? BarcodeScannerOptions options = new…
1
vote
1 answer

Liveness Detection in Flutter

I have an app for attendance that is based on a facial recognition system. I want to implement liveness detection or antispoofing. I found some models and solutions but none of these solutions work in offline mode (no internet mode). My app works in…
Hassan Gujjar
  • 288
  • 3
  • 13
1
vote
1 answer

Errors using MLKit Barcode Scanner

I am using the barcode scanner from firebase which is working well, however I always get three errors and I don't know if at some moment they could affect my app Failed to open file…
1
vote
0 answers

While adding armv7 to the project ->buildsettings -> Excluded Architecture, arm64 added automatically to Target ->buildsettings> Excluded Architecture

I'm using the google_ml_kit_object_detection package when i add armv7 into the project ->buildsettings -> Excluded Architecture.... arm64 added automatically to Target ->buildsettings> Excluded Architecture-> Any Emulator SDK... when i try to…
Flutter Dev
  • 488
  • 3
  • 18
1
vote
1 answer

Issue with Custom Object Detector model from GCP Vision

My full tech stack is: GCP ML Vision. Exported Model to tflite format (from the same GCP console). XCode for iOS development iPhone 11 pro I am trying to use a Custom Object detector using MLKit and one model trained in GCP AutoML Vision. I…
1
vote
3 answers

How to increase Frames Per Second during Face Detection using ML Kit

Recently I am working with Google ML Kit Face Detection library. I implemented it successfully and able to detect my face through that. Played with contour points to draw a small bounding box over forehead. During face detection it provide the image…
1
vote
1 answer

How can I adjust detecting latency in ML kit text recognition?

I want to lower the latency of detection because I get too many words in a second. I've tried to lower it by changing variables like FPS, maxFrameMs, minFramems, etc(almost everything regarding to latency) in VisonProcessorBase.java and…
K M
  • 19
  • 1
1
vote
0 answers

MLKit face detection stopping after some time while simultaneously running a game

Im using the MLKit combined with the CameraX Image-Analysis Use Case to build an App, that lets you control a cursor, which gets drawn onto an overlay based on the position of the face (head based pointing essentially). I have two…
Dethe
  • 23
  • 1
  • 1
  • 8
1
vote
1 answer

How to improve scanning qr codes?

I am creating some kind of streaming app. I have open camera and I implemented scanning qr codes in background using https://pub.dev/packages/google_ml_kit Here is my code for that: var stream = await navigator.mediaDevices …
1
vote
0 answers

How to record ANY of Android MLKIT detection to a video?

I'm building app that uses cameraX to display real-time filter on users body, but I am not aware of what would be best way to record/capture video with overlays on it. I've tried screencapturing, but it does not work, I've tried multiple other…
1
vote
0 answers

ML Kit crash with Dynamic Feature Module (conditional delivery)

I'm working on a feature that utilizes ML Kit Translation, and since this feature is only available for a specific country, I've moved the implementation for this feature along with ML Kit dependency to a dynamic feature module and set the delivery…