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

Detect Faces with ML Kit on Android using CameraView

I am trying to run this example of face detection with the firebase MLkit on Android. Instead of the built in CameraView I use the library CameraView. Running the code the logs says: Faces: [], so no faces were found from the camera. You can…
Suisse
  • 3,467
  • 5
  • 36
  • 59
2
votes
0 answers

BarcodeScanning.getClient() Null Pointer Exception

When i am trying to run the barcode scan it crashes with the following error, i Even try to upgrade and downgrade all libraries, but no effect happens, Although the standalone sample is working fine, I also view all sort of possibilities to view…
Hasnain
  • 21
  • 2
2
votes
2 answers

vision-camera-code-scanner Undefined symbols for architecture x86_64 react native

I am getting a build error when using the vision-camera-code-scanner package for my react native project. The short hand error is: Undefined symbols for architecture x86_64 The full error is the following: ld: warning: ignoring file…
FutureCake
  • 2,614
  • 3
  • 27
  • 70
2
votes
1 answer

Creating InputImageData from Uint8List or Image Object For Google ML Kit Face Detection

Ho do we create an InputImage if all we have is Uint8List or Image object? How do we create the Plane object needed to initialize the InputImageData? //imageFile is an XFile dataType (From Camera Package) Uint8List imageData = await…
JayVDiyk
  • 4,277
  • 22
  • 70
  • 135
2
votes
2 answers

PlatformException when trying to detect objects on a custom tflite model

I used Cloud AutoML to train a custom model that suppose to detect marks on a piece of paper. I have the dataset exported as a TFLite file, and i have it hosted on firebase. I managed to download the file and initiate the objectDetector fine. but…
2
votes
0 answers

Detect blur image using MLKit (TensorFlow)

I am working on camera2 api and sometime getting blur images while capturing images from camera. I need to check if clicked image is blur or not, Using openCV increase the .apk size 3x times. I also check the solution posted on a SO thread Here but…
2
votes
0 answers

How to read multiple barcodes with Google Code scanner beta

I have an use case where there will be multiple barcodes. I have to read the first one. I have built the app using Google code scanner Beta with GmsBarcodeScanner. But when I scan it always reads the smallest barcode and returns back to the app. Is…
SatZ
  • 138
  • 10
2
votes
1 answer

How to take camera picture from google ml kit face detector?

i try camera picture use https://github.com/fernandoptrr/flutter-camera-practice, this work fine with XFile picture = await _cameraController.takePicture(); then try google ml kit example, https://github.com/bharat-biradar/Google-Ml-Kit-plugin . I…
anggadaz
  • 342
  • 3
  • 13
2
votes
0 answers

`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: import { utils } from…
2
votes
1 answer

when will GoogleMLKit support arm64 simulator

We're using GoogleMLKit on iOS, and right now our team is switching to m1 Macbook. We have to set some conditions to make it work on ios-arm64-simulator like this I'd like to know if google official has a plan to support ios-arm64-simulator such as…
aelam
  • 2,796
  • 2
  • 27
  • 32
2
votes
0 answers

Android - Facial Expression detection from Image using ML Kit Library

Currently I'm working on an app for Android. We want to detect features of a face expression. This feature should be detect the face and facial expression from image. Accuracy should be fine but don’t need it’s perfect. We need expression detection…
2
votes
0 answers

MLKIT Text recognition not getting all the numbers ( single digit ) from image

I am trying to get a sudoku board from an image using MLKIT Text Recognition but not all numbers are getting recognized. This is what it looks like I thought the lines may interfere with the detection so I removed all the lines ( using the 1st…
2
votes
1 answer

Text Orientation analysis before running Text Recognition API

For OCR project, I am trying to use MLKit Text Recognition API. No text extracted when image is rotated, only when it is in the up-right position. Modifying the sample provided here…
Alma
  • 75
  • 1
  • 6
2
votes
1 answer

Google ML Kit face detector - detect incomplete face

I am trying to detect incomplete faces on ID documents using Google ML Kit but apparently ML Kit is auto-generating contours and landmarks for the face sections not visible. Please see the attached image below: How can I detect that the face is…
Farooq Zaman
  • 495
  • 1
  • 6
  • 21
2
votes
1 answer

Switch between different ML models that run on camera in kotlin on runtime

I am trying to make an app that allow user to switch between different ML-Models on fly. Right now i have a simple app that can run camera with no model and camera with an object detection model. There will be five such models in final app. This is…
M Tayyab Asghar
  • 322
  • 2
  • 11