google_ml_kit_flutter
google_ml_kit_flutter copied to clipboard
Face Detection Fails with Front Camera Images from ImagePicker
Bug Description The Flutter Face Detector package fails to detect faces in images captured using the front camera through the ImagePicker package. The issue persists even when selecting the same images from the gallery. However, when using the rear camera or selecting different images from the gallery, the issue does not occur.
Steps to Reproduce
Use the ImagePicker package to capture a photo with the front camera. Attempt face detection using the Flutter Face Detector package on the captured image. Select the same image from the gallery and try again. Observe the error. Expected Behavior Face detection should successfully work with images taken from the front camera and selected from the gallery.
Platform Information OS: iOS Device: iPhone 12 Pro OS Version: 17.1.2 Flutter/Dart Version: sdk: '>=3.3.0-102.0.dev <4.0.0' Plugin version: image_picker: ^1.0.6, Additional Context This issue may be specific to the mentioned device and version. Please indicate if it has been tested on different devices.