-
Notifications
You must be signed in to change notification settings - Fork 754
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 is not working in Android with google_ml_kit: ^0.19.0 Dependency #705
Comments
The face is not detected in android device camera |
Has anyone faced this issue and solved it? If yes, can you explain how to solve it? |
@bensonarafat can you help me |
Do you try the example app ? @santhoshAndroid |
Yes, I tried, but the camera turns on, and no face is detected @bensonarafat |
If any configuration for android gradle files |
This issue is stale because it has been open for 30 days with no activity. |
This issue was closed because it has been inactive for 14 days since being marked as stale. |
Describe your issue. If applicable, add screenshots to help explain your problem.
This requirement addresses the issue where face detection is not functioning properly on Android when using the google_ml_kit: ^0.19.0 dependency. The solution aims to identify and resolve compatibility problems, bugs, or missing configurations that prevent the face detection feature from working as expected. The goal is to ensure seamless integration of Google ML Kit's face detection capabilities in Android applications, allowing for accurate and efficient face tracking and recognition.
Steps to reproduce.
Steps to Reproduce the Face Detection Issue in Android with google_ml_kit: ^0.19.0 Dependency
Set Up the Project:
pubspec.yaml
file.flutter pub get
to install the dependency.Initialize Camera for Face Detection:
AndroidManifest.xml
:Implement Face Detection Code:
google_ml_kit
. For instance, create aFaceDetector
instance and start the camera preview.Build and Run the Application on an Android Device:
Test Face Detection:
Observe the Issue:
Verify Logs (Optional):
This reproduces the face detection failure using google_ml_kit: ^0.19.0 on Android.
What is the expected result?
Expected Result:
Actual Result:
Did you try our example app?
Yes
Is it reproducible in the example app?
Yes
Reproducible in which OS?
Android
Flutter/Dart Version?
[√] Flutter (Channel stable, 3.24.3, on Microsoft Windows [Version 10.0.22631.4317], locale en-US)
• Flutter version 3.24.3 on channel stable at C:\src\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 2663184aa7 (5 weeks ago), 2024-09-11 16:27:48 -0500
• Engine revision 36335019a8
• Dart version 3.5.3
• DevTools version 2.37.3
Plugin Version?
dependencies:
flutter:
sdk: flutter
cupertino_icons: ^1.0.8
image: ^4.2.0
file_picker: ^8.1.2
path_provider: ^2.1.4
camera: ^0.10.6
camera_android_camerax: ^0.6.10
google_ml_kit: ^0.19.0
google_mlkit_face_detection: ^0.12.0
fluttertoast: ^8.2.8
flutter_pdfview: ^1.3.3
image_picker: ^1.1.2
tflite_flutter: ^0.11.0
The text was updated successfully, but these errors were encountered: