Open CaoGiaHieu-dev opened 1 month ago
@CaoGiaHieu-dev
Can you provide flutter doctor -v
?
Also, please provide a runnable reproducible code sample that we can directly copy paste and run to verify the reported behavior.
flutter doctor -v
caogiahieu@ML-caogiahieu ekyc_ekyb % flutter doctor -v
[✓] Flutter (Channel stable, 3.19.5, on macOS 14.4 23E214 darwin-x64, locale vi)
• Flutter version 3.19.5 on channel stable at /Users/caogiahieu/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 300451adae (4 days ago), 2024-03-27 21:54:07 -0500
• Engine revision e76c956498
• Dart version 3.3.3
• DevTools version 2.31.1
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
• Android SDK at /Users/caogiahieu/Library/Android/sdk
• Platform android-34, build-tools 31.0.0
• ANDROID_HOME = /Users/caogiahieu/Library/Android/sdk
• ANDROID_SDK_ROOT = /Users/caogiahieu/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 15E204a
• CocoaPods version 1.15.2
[✓] Android Studio (version 2023.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)
[✓] VS Code (version 1.87.2)
• VS Code at /Users/caogiahieu/Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.84.0
[!] Connected device
! No devices available
[✓] Network resources
• All expected network resources are available.
! Doctor found issues in 1 category.
It work normal with package camera_android . but not in camera_android_camerax
Thanks for the update. I was able to replicate this using above code sample running on S10.
Because in the code of camera_android_camerax, there is no image conversion code at all
ndroid_camerax, there is no image conversion c
感谢更新。我能够使用在 S10 上运行的上述代码示例来复制此内容。
稳定,master flutter doctor -v
Please add the code related to format conversion as soon as possible. We need to use nv21 images for object detection.
Thanks for the update. I was able to replicate this using above code sample running on S10.
stable, master flutter doctor -v
Will you fix this problem in the near future?
I very much hope that the flutter team can handle this issue at the highest level, I think this is a missing feature, which directly affects everyone who wants to use this library for image analysis such as tensorflow or Yolo.
See https://github.com/flutter/flutter/wiki/Issue-hygiene#when-will-my-bug-be-fixed
We have no specific plan to work on this, so there is no ETA. Anyone interested is welcome to submit a PR.
Steps to reproduce
init camera android by using code below
Expected results
Actual results
format return InputImageFormat.yuv_420_888
Code sample
Code sample
Using code [example of google ml kit](https://github.com/flutter-ml/google_ml_kit_flutter/tree/develop/packages/example) and add camera_android_camerax ### Screenshots or VideoScreenshots / Video demonstration
[Upload media here]Logs
```console [Paste your logs here] ```Doctor output
```console [Paste your output here] ```