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

Modifications #22

Open
emorling opened this issue Oct 12, 2024 · 3 comments
Open

Modifications #22

emorling opened this issue Oct 12, 2024 · 3 comments

Comments

@emorling
Copy link

Thanks for providing this!

How did you arrive at these modifications? I would like to add more than these if possible.

modifications = [ ('smile', [ (0, 20, 1, -0.01), (0, 14, 1, -0.02), (0, 17, 1, 0.0065), (0, 17, 2, 0.003), (0, 13, 1, -0.00275), (0, 16, 1, -0.00275), (0, 3, 1, -0.0035), (0, 7, 1, -0.0035) ]), ('aaa', [ (0, 19, 1, 0.001), (0, 19, 2, 0.0001), (0, 17, 1, -0.0001) ]), ('eee', [ (0, 20, 2, -0.001), (0, 20, 1, -0.001), (0, 14, 1, -0.001) ]), ('woo', [ (0, 14, 1, 0.001), (0, 3, 1, -0.0005), (0, 7, 1, -0.0005), (0, 17, 2, -0.0005) ]), ('wink', [ (0, 11, 1, 0.001), (0, 13, 1, -0.0003), (0, 17, 0, 0.0003), (0, 17, 1, 0.0003), (0, 3, 1, -0.0003) ]), ('pupil_x', [ (0, 11, 0, 0.0007 if params.get('pupil_x', 0) > 0 else 0.001), (0, 15, 0, 0.001 if params.get('pupil_x', 0) > 0 else 0.0007) ]), ('pupil_y', [ (0, 11, 1, -0.001), (0, 15, 1, -0.001) ]), ('eyes', [ (0, 11, 1, -0.001), (0, 13, 1, 0.0003), (0, 15, 1, -0.001), (0, 16, 1, 0.0003), (0, 1, 1, -0.00025), (0, 2, 1, 0.00025) ]), ('eyebrow', [ (0, 1, 1, 0.001 if params.get('eyebrow', 0) > 0 else 0.0003), (0, 2, 1, -0.001 if params.get('eyebrow', 0) > 0 else -0.0003), (0, 1, 0, -0.001 if params.get('eyebrow', 0) <= 0 else 0), (0, 2, 0, 0.001 if params.get('eyebrow', 0) <= 0 else 0) ]), ]

@emorling
Copy link
Author

Anyone reading this, here are 3 more:

`
('lower_lip', [
(0, 19, 1, 0.02)
]),
('upper_lip', [
(0, 20, 1, -0.01)
]),
('neck', [(0, 5, 1, 0.01)]),

`

@jbilcke-hf
Copy link
Owner

Hello!

  1. The modifications are adapted from here:
    https://github.com/PowerHouseMan/ComfyUI-AdvancedLivePortrait/blob/main/nodes.py#L408-L472

  2. oh, that's interesting! 👀 I'm adding them to the code as comments, for potential future use

@emorling
Copy link
Author

You can create an E.T. poke with the neck 😀

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