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

MediaPipe Face Mesh Not Working on Galaxy S25 Ultra #5908

Open
guilherme-bakaukas opened this issue Mar 13, 2025 · 1 comment
Open

MediaPipe Face Mesh Not Working on Galaxy S25 Ultra #5908

guilherme-bakaukas opened this issue Mar 13, 2025 · 1 comment
Assignees
Labels
platform::android Android Solutions platform:javascript MediaPipe Javascript issues task:face landmarker Issues related to Face Landmarker: Identify facial features for visual effects and avatars. type:bug Bug in the Source Code of MediaPipe Solution

Comments

@guilherme-bakaukas
Copy link

Have I written custom code (as opposed to using a stock example script provided in MediaPipe)

None

OS Platform and Distribution

Android 15

Mobile device if the issue happens on mobile device

Galaxy S25 Ultra

Browser and version if the issue happens on browser

Google Chrome 133.0.6943.138

Programming Language and version

Javascript

MediaPipe version

0.10.3

Bazel version

No response

Solution

Face Landmark Detection

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

Face Mesh successfully detects faces for the first few frames. After a short time, detection stops entirely, even though the camera feed remains active. The issue persists across different browsers and environments, including the official MediaPipe Web Demo.

Describe the expected behaviour

Face Mesh should consistently detect faces throughout execution, without stopping unexpectedly. Detection should remain stable, as seen on other devices where the model runs without issues.

Standalone code/steps you may have used to try to get what you need

async function createFaceLandmarker() { const filesetResolver = await FilesetResolver.forVisionTasks( "https://cdn.jsdelivr.net/npm/@mediapipe/[email protected]/wasm" ); faceLandmarker = await FaceLandmarker.createFromOptions(filesetResolver, { baseOptions: { modelAssetPath: https://storage.googleapis.com/mediapipe-models/face_landmarker/face_landmarker/float16/1/face_landmarker.task, delegate: "GPU" }, outputFaceBlendshapes: true, runningMode, numFaces: 1 }); let startTimeMs = performance.now(); results = faceLandmarker.detectForVideo(video, startTimeMs); }

Other info / Complete Logs

We've encountered an issue with MediaPipe Face Mesh on the Samsung Galaxy S25 Ultra. The detection works only for the first few frames after execution, but then it stops detecting faces entirely.

This problem also occurs when using the official MediaPipe Web Demo (https://codepen.io/mediapipe-preview/pen/OJBVQJm), where the face mesh initially detects properly but quickly stops working.

## Related Issues
Galaxy S25 MediaPipe Hand Detection Camera Error: Similar detection issues have been reported with hand detection on the Galaxy S25, where the camera only detects distant hands located in the bottom right corner of the screen. (https://github.com/google-ai-edge/mediapipe/issues/5867)
@guilherme-bakaukas guilherme-bakaukas added the type:bug Bug in the Source Code of MediaPipe Solution label Mar 13, 2025
@kuaashish kuaashish added platform::android Android Solutions platform:javascript MediaPipe Javascript issues task:face landmarker Issues related to Face Landmarker: Identify facial features for visual effects and avatars. labels Mar 17, 2025
@kuaashish
Copy link
Collaborator

Hi @guilherme-bakaukas,

it appears to be a genuine issue with the Samsung S25 models, and we can see that the issue has already been raised here #5867. We will bring this matter to the attention of our team. Hopefully, no higher-priority tasks will take precedence over this. We will keep you updated on the status.

Thank you!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform::android Android Solutions platform:javascript MediaPipe Javascript issues task:face landmarker Issues related to Face Landmarker: Identify facial features for visual effects and avatars. type:bug Bug in the Source Code of MediaPipe Solution
Projects
None yet
Development

No branches or pull requests

2 participants