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

Google ML Kit barcode scanner does not scan QR code with green background

I noticed a strange issue with Google's ML Kit Barcode scanner. I try to scan a QR code which has a green background, and it does not recognize the QR code at all. However if I crop the same QR code and remove the green background then it scans…
Andranik
  • 2,729
  • 1
  • 29
  • 45
1
vote
1 answer

Integrating ML Kit in Flutter without MLKit Plugin

I have an app built on flutter, and want to implement ML Kit to the app. I have a pose detection model written in Java and would like to implement this feature to the app. How do I go on about this without using the flutter plugin?
Adi
  • 11
  • 1
1
vote
2 answers

Google MLKIt TextRecognition on iOS return always empty result

I am using react-native, react-native-vision-camera (with frameProcessor) and mlkit to perform in device text recognition. My code works on Android, but I got always empty results on iOS. Here is my Objective C implementation: static inline id…
FabioDev
  • 694
  • 1
  • 12
  • 27
1
vote
1 answer

Is it possible to record a video while using imageStream for face detection with camera plugin?

Actually i want to detect the facial positions using image streams and also i want to record the whole thing. But i am not able to do so while imagestream is working. Is there any way to do so? I also tried to make another camera controller but…
1
vote
0 answers

How to read data ( scan text ) from CameraImage in Flutter (Android )

I want to scan text with live camera . And for that I'm using google_ml_kit package for scanning. In ios platform everything is okay. But I cannot read data from CameraImage in android. And also I got this message : 'A camera has started streaming…
Lala Naibova
  • 396
  • 1
  • 3
  • 22
1
vote
1 answer

Poor selfie segmentation with Google ML Kit

I am using Google ML Kit to do selfie segmentation (https://developers.google.com/ml-kit/vision/selfie-segmentation). However, the output am getting is exteremely poor - Initial image: Segmented image with overlay: Observe how the woman's hair is…
sppc42
  • 2,994
  • 2
  • 31
  • 49
1
vote
1 answer

How to detect real face using flutter

I want to make an attendance system where users can attend with the camera. I am using tflite_flutter. google_ml_kit It works perfectly but if I take a picture and show it in front of the camera it also works. I need to stop that. How can I detect…
Md Tariqul Islam
  • 2,736
  • 1
  • 20
  • 35
1
vote
0 answers

MLKit Digital Ink Recognition in unity error when download model

I'm developing an app with Unity that uses Digital Ink Recognition of ML Kit to recognize handwriting. To fetch ios plugin via unity, I use this script: public static void Initialize(string languageTag = "en-US") { if (_instance != null) { …
Rifai
  • 11
  • 2
1
vote
1 answer

I want scan image for getting text, but when I send image to render app crashes and I lose connection to device

I'm using "google_ml_kit" package Future pickImage() async { final file = await _imagePicker.pickImage(source: ImageSource.gallery); setImage(File(file!.path)); await textDetector(image!); } I haven't any problem about picking image,…
Lala Naibova
  • 396
  • 1
  • 3
  • 22
1
vote
0 answers

Object motion detection with event triggering in Android

Here is the goal: to develop an Android App with CameraX API that performs object motion detection. Any time the camera detects an object's motion it triggers an event. This is a surveillance app. Furthermore, there is the possibility of having…
lbarqueira
  • 1,101
  • 1
  • 10
  • 28
1
vote
1 answer

MLKit Digital Ink Recognition throws error when initializing recognizer

I'm developing a Flutter app which makes use of the Digital Ink Recognition of ML Kit to recognize handwriting. I have the following code to perform the recognition on iOS (swift code). let ink = Ink.init(strokes: mlStrokes) let identifier =…
skuallpa
  • 1,147
  • 3
  • 13
  • 28
1
vote
2 answers

google_ml_kit - how to force download of text recognition module at compile?

I am new to Flutter, trying to write a simple module to pick an image and pass it to google_ml_kit for on device OCR text recognition only. I have set the Android min SDK version to 21 and updated the build.gradle to use FileNotFoundException. Image…
Troy
  • 8,581
  • 29
  • 32
1
vote
1 answer

LateInitializationError related to image in Flutter

import 'dart:io'; import 'package:google_ml_kit/google_ml_kit.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:image_picker/image_picker.dart'; class ImageNote extends StatefulWidget { …
Pratishtha S
  • 81
  • 2
  • 11
1
vote
2 answers

Google ML KIT Vision Face Detection and face filters

Does any one know what kind of technology used in face detection in google ml kit vision and what kind of methods use in face detection https://towardsdatascience.com/face-detection-for-beginners-e58e8f21aad9
1
vote
4 answers

MLKit translate SDK crashes in release build

We used official guideline to implement text translation feature with ML Kit on Android. Current version of the library is 'com.google.mlkit:translate:16.1.2'. It works as expected in the debug build but it crashes in the release build with the…