Closed viplavrawal closed 3 years ago
Hi @viplavrawal
Using official example, using picture produces no such error using firebase_ml_vision: ^0.9.3+8
Please try this barcode see if the issue occurs or please provide your barcode png
Thank you
@TahaTesser The one that you attached above works fine with my code as well. Please find the file which is causing the issue.
Hey, :wave:, the firebase_ml_vision
package is now discontinued since its APIs have been deprecated and removed from the Android & iOS Firebase SDKs.
I'd recommend switching to the alternatives now;
Apologies for any inconvenience here and best of luck switching over the the new APIs. firebase_ml_custom
is not affected by this deprecation.
Thanks
Describe the bug Running the code
barcodeDetector.detectInImage(visionImage)
on a png file results in errorBitmap format must be ARGB_8888
.To Reproduce Steps to reproduce the behavior:
Bitmap format must be ARGB_8888
.Expected behavior The file should be scanned like jpeg files.
Flutter doctor