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 Expression #223

Open
xuullin opened this issue May 4, 2023 · 5 comments
Open

Face Expression #223

xuullin opened this issue May 4, 2023 · 5 comments

Comments

@xuullin
Copy link

xuullin commented May 4, 2023

Hi, I have selected Setup VRC FaceExpression Proxy, but after running unity, the character model does not make facial expressions, what is the situation? I'm using phane from Booth for the character model, if I want to make the model's mouth shape to match different audio, how should I modify the code? What are the ideas to achieve this?

@xuullin
Copy link
Author

xuullin commented May 4, 2023

What are the ideas to implement such a model in this project, as the model captures my movements and demeanor, imitates my speaking style and actions, and can chat with me intelligently afterwards?

@uezo
Copy link
Owner

uezo commented May 4, 2023

Hi @xuullin , you have to make the snapshots of the face expressions before use the VRC FaceExpression Proxy at runtime.

  1. [Inspector] Make face expressions as the combination of shapekeys.
  2. [Inspector] Capture it with its name (e.g. "Angry", "Joy").
  3. [Script] Call ModelController#SetFace() in your script.
var faces = new List<FaceExpression>() { new FaceExpression("Angry", 3.0f) };
modelController.SetFace(faces);

Or, set face expression to the response from your skill.

response.AddFace("Angry", 3.0f);

See also the example for ChatGPT.
https://github.com/uezo/ChatdollKit/blob/master/Examples/ChatGPT/ChatGPTSkill.cs#L33

@uezo
Copy link
Owner

uezo commented May 4, 2023

if I want to make the model's mouth shape to match different audio, how should I modify the code?

Setup uLipSync or OVRLipSync correctly. You don't need to modify the code.

@xuullin
Copy link
Author

xuullin commented May 4, 2023

thank you

@xuullin
Copy link
Author

xuullin commented May 4, 2023

Thank you very much for your reply. Can you talk about some of the connections and differences between this project and intelligent digital human generation technology? What are the changes that need to be made in this project if we want to implement intelligent digital human generation?

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