Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Face Detection Fails with Front Camera Images from ImagePicker #567

Open
bluej4ker opened this issue Jan 8, 2024 · 2 comments
Open

Face Detection Fails with Front Camera Images from ImagePicker #567

bluej4ker opened this issue Jan 8, 2024 · 2 comments
Labels
Face Detection Issues corresponding to Face Detection API

Comments

@bluej4ker
Copy link

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.

@giordy16
Copy link

Hi, do you also have this problem?
#570

@Fairfieldfred
Copy link

I had a similar bug with it not working on the front (selfie) camera but when interestingly it resolved if I pressed the arrows inside the picture frame to increase the field of view - all of a sudden it would work.

@fbernaly fbernaly added the Face Detection Issues corresponding to Face Detection API label Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Face Detection Issues corresponding to Face Detection API
Projects
None yet
Development

No branches or pull requests

4 participants