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 Not working on xiaomi redmi note 11 pro #384

Closed
dimas96maulana opened this issue Dec 19, 2022 · 4 comments
Closed

Face Detection Not working on xiaomi redmi note 11 pro #384

dimas96maulana opened this issue Dec 19, 2022 · 4 comments
Labels
Face Detection Issues corresponding to Face Detection API Image capture Issues related to image capturing using camera or image_picker plugins InputImage Issues related to InputImage

Comments

@dimas96maulana
Copy link

we tried using a real device brand oppo and a real device brand samsung using the face detection package the results were successful, but we tried a real device brand xiaomi redmi note 11 pro, this package doesn't work, is there a solution?

@acoutts
Copy link
Contributor

acoutts commented Jan 11, 2023

i get an empty list from the detector as well for barcodes and faces on the xioami M2010J19CG and vivo V2135.

@acoutts
Copy link
Contributor

acoutts commented Jan 11, 2023

I can run the official mlkit example app and it works though.

@dimas96maulana can you try that too?

https://github.com/googlesamples/mlkit/tree/master/android/vision-quickstart

@acoutts
Copy link
Contributor

acoutts commented Jan 11, 2023

Try my example here please: flutter/flutter#118350

@fbernaly fbernaly added Face Detection Issues corresponding to Face Detection API InputImage Issues related to InputImage labels Jun 26, 2023
@fbernaly
Copy link
Collaborator

Use NV21 for Android.
In this comment: #287 (comment)
Someone reported that the native apps are using that for MLKit and when doing the same in Flutter solved the issue for Android. That was merged in this PR #454

@fbernaly fbernaly added the Image capture Issues related to image capturing using camera or image_picker plugins label Jun 26, 2023
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 Image capture Issues related to image capturing using camera or image_picker plugins InputImage Issues related to InputImage
Projects
None yet
Development

No branches or pull requests

3 participants