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

3D custom model question #15

Open
positive666 opened this issue Jun 24, 2022 · 3 comments
Open

3D custom model question #15

positive666 opened this issue Jun 24, 2022 · 3 comments

Comments

@positive666
Copy link

positive666 commented Jun 24, 2022

if I design a 3D model myself, do I need to follow the topology of the face landmark of mediapipe?

@mmmmmm44
Copy link
Owner

mmmmmm44 commented Jun 26, 2022

No.

Mediapipe detects your face from the camera and then calculate the landmarks. Then we make use of the pose_estimator.py script and functions from facial_features.py to calculate the head movement, eye aspect ratios and mouth aspect ratios to control the avatar.

After you import the model to Unity, find the corresponding objects in your character and try to write a program in Unity to translate the ratios into your character's movement, like how UntiyChan model does.

Edit: Have no experience in modelling but in my understanding, modelling and mediapipe are two different stuffs.

@positive666
Copy link
Author

Okay, thanks for your reply, if I'm going to do a full-body gesture, I should also need an initial 3D coordinate similar to a Model .txt, do you know how to get this?

@mmmmmm44
Copy link
Owner

Sorry for really late reply as I am busying with a summer internship.

I have no experience in full-body gesture detection, so I don't know whether a txt file like model.txt is required.

Although mediapipe has an API namely Holistic, the pose estimation may get unsatisfactory if part of your body is covered, or the camera is viewing from side-view. Unfortunately, this requires more sophisticated solutions, such as HRNet, AlphaPose or Openpose, which requires decent to high-ended graphic cards to run, and more coding knowledge.

I think you should look for more professional equipments like Valve Index or HTC vive (some VR equipments) if you aim for a smooth experience.

Thank you.
mmmmmm44

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants