flutter-ml / google_ml_kit_flutter

A flutter plugin that implements Google's standalone ML Kit
MIT License
974 stars 742 forks source link

PlatformException(InputImageConverterError, java.lang.IllegalArgumentException, null, null) #713

Open wantroba opened 1 day ago

wantroba commented 1 day ago

Describe your issue. If applicable, add screenshots to help explain your problem.

The error occurs whenever I call the processImage(InputImage inputImage) function.

The last time it worked was May 27, 2024 with these plugin versions: camera: ^0.11.0 google_mlkit_text_recognition: ^0.13.0

After I updated to these versions: camera: ^0.11.0+2 google_mlkit_text_recognition: ^0.14.0

Then I tried to revert back to previous versions and the problem still persists.

Steps to reproduce.

The error occurs whenever I call the processImage(InputImage inputImage) function.

What is the expected result?

processImage(InputImage inputImage) function should work

Did you try our example app?

No

Is it reproducible in the example app?

No

Reproducible in which OS?

Android

Flutter/Dart Version?

Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 3.24.4, on Microsoft Windows [versÆo 10.0.22631.4317], locale pt-BR) [✓] Windows Version (Installed version of Windows is version 10 or higher) [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) [✓] Chrome - develop for the web [✓] Visual Studio - develop Windows apps (Ferramentas de Build do Visual Studio 2019 16.11.29) [✓] Android Studio (version 2024.1) [✓] VS Code (version 1.94.2) [✓] Connected device (4 available) [✓] Network resources

Plugin Version?

camera: ^0.11.0+2 google_mlkit_text_recognition: ^0.14.0

wantroba commented 1 day ago

Could be related to #684