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 when rendered in the Camera View within the FaceLandmarker project is inadvertently shifted to the right side. #5800

Open
iamjosephmj opened this issue Dec 30, 2024 · 1 comment
Assignees
Labels
platform:android Issues with Android as Platform stat:awaiting response Waiting for user response 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

@iamjosephmj
Copy link

iamjosephmj commented Dec 30, 2024

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

No

OS Platform and Distribution

All Android OS

Mobile device if the issue happens on mobile device

All devices

Programming Language and version

All Kotlin versions

MediaPipe version

All

Solution

MP Face Landmarker Android

Describe the actual behavior

The Face and connectors when rendered in the Camera View within the FaceLandmarker project is inadvertently shifted to the side.

Describe the expected behaviour

The FaceLandmarker and facial elements should remain properly aligned and not be positioned arbitrarily within the user interface

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

https://gist.github.com/iamjosephmj/cd58862c466189644f59945881db8361#file-fragment_camera-xml-L10

Other info / Complete Logs

Please note that the bug occurs in the example project, the suggested fix is to align the connectors with respect to the center of the screen.

@iamjosephmj iamjosephmj added the type:bug Bug in the Source Code of MediaPipe Solution label Dec 30, 2024
@iamjosephmj iamjosephmj changed the title The Camera View within the FaceLandmarker project is inadvertently shifted to the side. The Face when rendered in the Camera View within the FaceLandmarker project is inadvertently shifted to the side. Dec 30, 2024
@iamjosephmj iamjosephmj changed the title The Face when rendered in the Camera View within the FaceLandmarker project is inadvertently shifted to the side. The Face when rendered in the Camera View within the FaceLandmarker project is inadvertently shifted to the right side. Dec 30, 2024
@iamjosephmj iamjosephmj changed the title The Face when rendered in the Camera View within the FaceLandmarker project is inadvertently shifted to the right side. Face when rendered in the Camera View within the FaceLandmarker project is inadvertently shifted to the right side. Dec 30, 2024
@kuaashish kuaashish assigned kuaashish and unassigned kalyan2789g Dec 30, 2024
@kuaashish kuaashish added platform:android Issues with Android as Platform task:face landmarker Issues related to Face Landmarker: Identify facial features for visual effects and avatars. labels Dec 30, 2024
@kuaashish
Copy link
Collaborator

Hi @iamjosephmj,

Could you please share the complete code you are using? Additionally, if possible, could you provide a screenshot or video demonstrating the issue, specifically showing how the camera view is shifted? This will help us better understand and reproduce the problem.

Thank you!!

@kuaashish kuaashish added the stat:awaiting response Waiting for user response label Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform:android Issues with Android as Platform stat:awaiting response Waiting for user response 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

3 participants