Open
Description
Describe your issue. If applicable, add screenshots to help explain your problem.
When using Controller.processImage() to detect barcodes from images (e.g., gallery photos), the UI freezes(it pauses my animation/ progressbar too) for a few seconds during the image analysis process. This lag is noticeable when processing larger images. The issue impacts the user experience and makes the app feel unresponsive. Any solution ?
Steps to reproduce.
use this line of code
final List barcodes = await barcodeScanner.processImage(inputImage);
What is the expected result?
The ui should not lag, my animation should run smooth.
Did you try our example app?
Yes
Is it reproducible in the example app?
Yes
Reproducible in which OS?
Android
Flutter/Dart Version?
No response
Plugin Version?
google_mlkit_barcode_scanning: ^0.13.0