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

How can I use the cartoon face? #5386

Open
327635328 opened this issue May 7, 2024 · 4 comments
Open

How can I use the cartoon face? #5386

327635328 opened this issue May 7, 2024 · 4 comments
Assignees
Labels
os:linux-non-arm Issues on linux distributions which run on x86-64 architecture. DOES NOT include ARM devices. platform:python MediaPipe Python issues task:face landmarker Issues related to Face Landmarker: Identify facial features for visual effects and avatars. type:support General questions

Comments

@327635328
Copy link

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

Yes

OS Platform and Distribution

linux

MediaPipe Tasks SDK version

0.10.11

Task name (e.g. Image classification, Gesture recognition etc.)

Face Landmark Detection

Programming Language and version (e.g. C++, Python, Java)

Python

Describe the actual behavior

I don't know how to turn a face into a cartoon

Describe the expected behaviour

show the Cartoon face

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

I have successfully implemented Face Landmark Detection, which enables me to obtain all the points of the face. I can see that the face can be transformed into a cartoon bear face in the demo. May I ask how it is achieved? I did not find a code example, can you guide the implementation process, thank you

Other info / Complete Logs

cv2.VideoCapture(0)
use vision.FaceLandmarker model_asset_path='face_landmarker.task' 
for i in range(len(face_landmarks)):
    pos_x = int(face_landmarks[i].x * width)
    pos_y = int(face_landmarks[i].y * height)

i success to get the points
@kuaashish kuaashish assigned kuaashish and unassigned ayushgdev May 8, 2024
@kuaashish kuaashish added os:linux-non-arm Issues on linux distributions which run on x86-64 architecture. DOES NOT include ARM devices. task:face landmarker Issues related to Face Landmarker: Identify facial features for visual effects and avatars. platform:python MediaPipe Python issues type:support General questions labels May 8, 2024
@kuaashish
Copy link
Collaborator

Hi @327635328,

At present, we do not have any available Python examples for using the Avatar face. Please grant us some time to discuss this matter with the team. We will inform you whether we can provide the something on this or not.

Thank you!!

@kuaashish kuaashish added the stat:awaiting response Waiting for user response label May 8, 2024
Copy link

This issue has been marked stale because it has no recent activity since 7 days. It will be closed if no further activity occurs. Thank you.

@github-actions github-actions bot added the stale label May 16, 2024
Copy link

This issue was closed due to lack of activity after being marked stale for past 7 days.

Copy link

Are you satisfied with the resolution of your issue?
Yes
No

@kuaashish kuaashish removed stat:awaiting response Waiting for user response stale labels May 24, 2024
@kuaashish kuaashish reopened this May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
os:linux-non-arm Issues on linux distributions which run on x86-64 architecture. DOES NOT include ARM devices. platform:python MediaPipe Python issues task:face landmarker Issues related to Face Landmarker: Identify facial features for visual effects and avatars. type:support General questions
Projects
None yet
Development

No branches or pull requests

3 participants