Skip to content

MediaPipe Face Mesh Not Working on Galaxy S25 Ultra #5908

Open
@guilherme-bakaukas

Description

@guilherme-bakaukas

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)

Metadata

Metadata

Assignees

Labels

platform::androidAndroid Solutionsplatform:javascriptMediaPipe Javascript issuesstat:awaiting googlerWaiting for Google Engineer's Responsetask:face landmarkerIssues related to Face Landmarker: Identify facial features for visual effects and avatars.type:bugBug in the Source Code of MediaPipe Solution

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions