-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Unable to detect all the faces in the given image, when the image contains more faces. #5814
Comments
example code as per the documentation
|
Hi @henry14311, There appears to be an issue with TensorFlow.js, not with the Mediapipe Face Detection API. We recommend raising the issue in the relevant repository here: https://github.com/tensorflow/tfjs-models for further resolution. Thank you!! |
Thank you for the clarification, MediaPipeFaceDetector-MediaPipe wraps the MediaPipe JS Solution within the familiar TFJS API mediapipe.dev. isn't this uses the mediapipe api ? i used these as well import '@mediapipe/face_detection'; |
Hi @henry14311, Apologies for the delayed response. The library @mediapipe/face_detection belongs to the legacy MediaPipe Face Detection, which has been upgraded to the Face Detection Task API. You can find more details on the overview page and documentation. Please note that we no longer provide support for the legacy @mediapipe/face_detection and may not be able to assist further with it. We recommend using the upgraded Face Detection Task API and letting us know if you encounter similar issues with the new API. Additionally, we suggest raising a new issue in the TFJS repository to request integration with the updated Face Detection Task API, as further action from MediaPipe's side is not feasible. Thank you!! |
Have I written custom code (as opposed to using a stock example script provided in MediaPipe)
Yes
OS Platform and Distribution
MacOS 14.5
Mobile device if the issue happens on mobile device
No response
Browser and version if the issue happens on browser
No response
Programming Language and version
JS
MediaPipe version
"@tensorflow-models/face-detection": "^1.0.3",
Bazel version
No response
Solution
"@tensorflow-models/face-detection": "^1.0.3",
Android Studio, NDK, SDK versions (if issue is related to building in Android environment)
No response
Xcode & Tulsi version (if issue is related to building for iOS)
No response
Describe the actual behavior
It detects only 2 faces when there are 13 faces in the image.
Describe the expected behaviour
it should detect all the 13 faces in the image
Standalone code/steps you may have used to try to get what you need
I have used the setup as mentioned in the documentation.
Other info / Complete Logs
No response
The text was updated successfully, but these errors were encountered: