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.
424
questions
0
votes
1
answer
24
views
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 ...
0
votes
0
answers
29
views
Android CameraX and Google ML Kit - QR-Code Scanner, onSuccess and onFailure never called
This code just shows minimal requirement to use the QR-Code functionality of ML Kit.
When executing the ML task, the task only calls onComplete and then onCanceled. Am I missing something?
The app ...
0
votes
0
answers
20
views
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 ...
-2
votes
0
answers
33
views
What is a good and free API to use for a facial recognition program? [closed]
I have been working on a facial recognition program for a school project for about a month now, but have made absolutely no progress whatsoever. The API I am currently using is Google's ML Kit, since ...
0
votes
0
answers
13
views
Can Google ML KIT barcode scanner detect dim light when image is getting captured via Camera?
I have developed a barcode/QR code scanner app using Firebase ML KITlink and Camera 1 API. I want to check if ML Kit can detect the dim light in the surrounding so that I can switch on the torch to ...
0
votes
2
answers
56
views
Android ML Kit library for QR code scanning: How to increase detection performance by reducing image resolution
This is my stripped down sourcecode for barcode scanning
build.gradle
dependencies {
.....
// MLKit Dependencies
implementation 'com.google.android.gms:play-services-vision:20.1.3'
...
0
votes
0
answers
25
views
Does Android ML Kit text recognition make sense for scanning barcodes?
I want to improve the performance of the barcode reader of my Android application. Right now I am using mlkit:barcode-scanning library for that, and I was wondering if com.google.android.gms:play-...
0
votes
0
answers
30
views
How to create 3D model from live face in iOS like in Lenskart,snapchat?
I am working on swift native project and I tried Google MLKit for face detection using below pod file.
pod 'GoogleMLKit/FaceDetection'
I can identify the face detection and I can draw the line. But I ...
0
votes
0
answers
76
views
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 ...
0
votes
3
answers
57
views
How to extract strings from a list of string with a condition in flutter?
I have a list of strings based on google ML kit blocks and i want to get a specific strings in a range between
CHECK # 259395 and SUB-TOTAL..
List<String> item = [
'Line',
'...
3
votes
1
answer
58
views
How can I limit barcode scanner to once?
I try to code a barcode scanner with Jetpack Compose and Google ML Kit. I use ImageAnalysis with the STRATEGY_KEEP_ONLY_LATEST and call a class BarCodeAnalyzer who initialize and create the ...
0
votes
0
answers
13
views
Kotlin Google MLKIT Face Detection , Face Circular Motion Enrollment
I was building a face enrollment feature using google's mlkit, I am trying to capture circular motion enrollment like that of ios as shown below
I was able to achieve everything but i am only stuck ...
0
votes
1
answer
42
views
Internal error has occurred when executing ML Kit tasks
I'm trying to integrate ARCore with ML Kit in Android Studio as suggested in ARCore documentation official.
This is my JAVA code:
ObjectDetector objectDetector = createObjectDetector();
Image ...
0
votes
0
answers
68
views
Why is MLKit barcode (Qr code) scanner so slow?
I'm trying to implement a QR code scanner in my app using Mlkit and following these two links :
https://medium.com/codex/scan-barcodes-in-android-using-the-ml-kit-30b2a03ccd50
https://developers....
0
votes
0
answers
16
views
Android N - Download Manager Notification Cancel Button Not Working
working on online and offline translation for that i use Mlkit android for offline translation working fine on other devices but in android 7 when download any language sdk and then cancel it from ...
-1
votes
0
answers
48
views
Confidence in google ML Kit Text Recognition
I use Google ML Kit Text Reconigation library to develop OCR app.
How do I know the reliability of the results?(confidence)
Is there any other way or library to do that?
0
votes
0
answers
20
views
How to judging left and right movement and pose_landmarks on screen position?
In the pose development using mediapipe, 33 pose landmarks are easy to obtain. According to the example, I know that the coordinates less than 200 can be used, which is to jump up.
but how should I ...
1
vote
1
answer
62
views
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 '/data/data/com....
2
votes
0
answers
26
views
How to crop XFile image if i have the coordinate that should be cropped (right,top,left,bottom)?
I'm using google-mlkit-object-detection where the detector detects for me many objects in an image and return for me RECT with the coordinate that detects so how can i crop these. ? as image
0
votes
0
answers
14
views
How to convert the detected objects into bytes or FILE OR XFILE?
I would like to get the objects that the google-mlkit-objects-detection package detect as Image in order to send it to the CLOUD API PRODUCT SEARCH, so how can i transfer the detected objects into ...
0
votes
0
answers
23
views
how to build the mlkit translate quickstart example on m1 mac
I'd like to build this example project for text translation with ml kit, on an m1 mac: https://github.com/googlesamples/mlkit/tree/master/ios/quickstarts/translate
Here is what I've done:
git clone ...
0
votes
0
answers
78
views
Error (Xcode): Building for iOS Simulator, but linking in object file built for iOS, file for architecture arm64
Once i added the google_mlkit_object_detection package this error occur, but when i exclude arm64 in the target any IOS simulator the error gone! but i don't wont to exclude the arm64 in the IOS ...
0
votes
0
answers
47
views
Once i removed arm64 from the "Target-> Excluded Architecture -> Any IOS Simlutaor" an error occur " framework not found FirebaseAnalytics
I'm using google-mlkit-object-detection package, which when i run the app in the emulator arm64 added automatically into the "Target-> Excluded Architecture -> Any IOS Simlutaor" and ...
0
votes
0
answers
22
views
Anyone install the google_mlkit_object_detection package in flutter and it work great with the image_picker package in IOS simulator?
Once i install the google_mlkit_object_detection I excluded the armv7 in the project level but once i run the app the arm64 added automatically to the target level in the 'any IOS Simulator' and then ...
0
votes
0
answers
43
views
Can I detect a face on Android when the eyes are not visible?
I am using Android's ML Kit to detect faces which works really well however I want to detect a person's face (specifically their mouth) when their eyes are not visible in the image.
On the left is ...
1
vote
0
answers
23
views
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> ...
0
votes
0
answers
17
views
How to make padding or zoom out to the File image that the user selected from gallery and still an File image in order to upload it to the mlkit
I'm using google_ml_kit_object_detection package i've noticed that when the object in the image is taking all the image this api will not detect any object while if i zoom out a little it it detects ...
0
votes
0
answers
23
views
How to view the detected objects as an image while using the google_ml_kit_object_detection?
I'm using google_ml_kit_object_detection package which return ObjectDetectors as list while recognizing an image, how to view what does it detect as an image ?
0
votes
0
answers
63
views
Can we used Both ZXing and ML Kit Library for Bar code and QR Code Scanning Android?
I tried to use both But it didn't work for me. it only works if I initialize the ML Kit library inside the result Callback like
val intent = Intent()
Log.d("ScannerTAG", "...
0
votes
0
answers
23
views
Image Picker does not work properly with google_mlkit_object_detector only on IOS Simlutor
Once i added the google_mlkit_object_detector then the image_picker stopped working. i can access the gallery but there's no image will return when added this package.
void _incrementCounter() async {...
0
votes
0
answers
35
views
GS-1 128 FNC1 separator not supported on Google ML KIT barcode scanner
I'm trying to read a GS-1 128 barcode by an android device, using Google ML Kit Barcode Scanning library.
I'm in trouble because the "Process" call of the IBarcodeScanner interface is not ...
0
votes
1
answer
31
views
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 ...
0
votes
0
answers
21
views
React Native: Android - Google mlkit FaceDetection causing app crash with FATAL EXCEPTION
After configuring the Firebase dashboard and integrating everything into my React Native app, when launching the Android Emulator the app crashes and I get the following error:
FATAL EXCEPTION: ...
0
votes
1
answer
39
views
Android Google ML Kit translation returning incorrect translations
I'm using the ML Kit translator currently with English to Polish. I know the docs say it should be used for casual words and translation, but its returning basic things like Monkey and Spark back as ...
0
votes
0
answers
29
views
Scanning with ML Firebase Barcode doesn't recognize format
I have been trying to use the MLKit to scan a barcode however I don't seem to get anything on return, the info that I'm getting back is
W/libc: Access denied finding property "ro.hardware....
0
votes
0
answers
58
views
How do I improve Mediapipe Pose Estimation landmark consistency across devices
I am currently working on a Mediapipe Pose Estimation for a fitness project to use across different mobile devices. We had been using the Mediapipe AAR full version. What I had found for example, is ...
0
votes
0
answers
14
views
How to identify whether the face is in the frames while detecting by ml kit?
I'm doing an Android project that uses google ml kit to detect faces. I am having a problem is how to know when a face appears in the frame when FaceDetection works. I tried a few ways to display the ...
0
votes
0
answers
20
views
ML Kit Dynamic module feature crashed and showing resource not found on release build opened after forcefully closed app
We are developing an app that has a feature translation. We want to implement a translation feature on-demand using com.google.mlkit:playstore-dynamic-feature-support:16.0.0-beta2 with google MLkit ...
0
votes
0
answers
26
views
Android ML Text Recogniser is not returning text from a full image that it can see if the source image is cropped. Is there a response limit?
I am using the Google ML Text Recogniser library in Android Studio for an Android app.
It is successfully returning a lot of text from a large image, but the specific, visible text I want it to return ...
0
votes
0
answers
47
views
After adding ML Kit for Translate api on Android, Its increasing app size dramatically
After adding mlkit translation api implementation 'com.google.mlkit:translate:17.0.0' my app size increase dramatically.
My primary app size was 12mb in release build after added mlkit it's now 35mb. ...
0
votes
0
answers
36
views
`new NativeEventEmitter()` requires a non-null argument
I am facing this problem:
new NativeEventEmitter() requires a non-null argument
I am working on Expo GO (version Expo: 45.0.0) on IOS. The problem is when I import the following two libraries:
...
1
vote
2
answers
69
views
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 ...
0
votes
0
answers
37
views
Barcode Scanner ITF type didn't read correctly [google-mlkit]
I'm trying to read a barcode ITF type on attached image. The correct number should be 858900000000712903282214190708221191640012629178, but the read number is ...
0
votes
1
answer
27
views
How to convert graphics overlay into bitmap in mlkit android
I want to just convert graphics overlay to bitmap .
https://github.com/googlesamples/mlkit/blob/master/android/vision-quickstart/app/src/main/java/com/google/mlkit/vision/demo/java/segmenter/...
0
votes
0
answers
147
views
scan more than 10 barcodes in one bitmap using ML Kit Barcode Scanning
I am using Google Ml Kit on Android to process bitmaps of scanned student tests with barcodes that has a lot of codes on them evrything works well except that it gets back always not more than 10 ...
0
votes
0
answers
50
views
is google ml kit only front-end service?
is google ml kit only front-end service ? I mean it only detect objects in an image or it go to the database and get the similar products as the captured one in flutter app?
0
votes
0
answers
62
views
GoogleMLKit/FaceDetection pod iOS crash
I am facing an issue when debugging the MLKit FaceDetection.
When the code detects a face it crashes
faceDetector.process(visionImage) { [weak self] (faces, error) in
guard ...
0
votes
1
answer
56
views
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 ...
0
votes
0
answers
52
views
Do I need to make custom model in order to find similar products as the captured one by using Google ml kit?
I'm using google ml kit with the object detection and tracking api, what I need that when the user capture an image my app will display similar products as the captured on, my question is should I ...
0
votes
0
answers
72
views
iOS thread 0 app crash when trying to read file from temporary directory
My iOS app is crashing when reaching line await _qrCodeScanner.processImage(InputImage.fromFile(file));
On Android it's working fine.
This is my code for this, using https://pub.dev/packages/...