Code Monkey home page Code Monkey logo

Comments (5)

numz avatar numz commented on July 16, 2024

Try to set face erode to something like 40 ,mask blur to 30 and use gfpgan, Let me know

from sd-wav2lip-uhq.

trxsudo avatar trxsudo commented on July 16, 2024

Try to set face erode to something like 40 ,mask blur to 30 and use gfpgan, Let me know

just applied your suggested parameters, and the result is kind of off, here is the result video:
where the teeth seem crooked and over-crowded. not sure if it is because the mask isnt covering the teeth in the original video
https://github.com/numz/sd-wav2lip-uhq/assets/76946041/0a87d151-20e6-4ace-a68d-1bb20b7da032

from sd-wav2lip-uhq.

numz avatar numz commented on July 16, 2024

active debug and look into debug folder to check mask composition and see if it missed something or if erode or mask blur is not good enough

from sd-wav2lip-uhq.

trxsudo avatar trxsudo commented on July 16, 2024

active debug and look into debug folder to check mask composition and see if it missed something or if erode or mask blur is not good enough

e944c89cb509df6e627d0a27c1f8f97

a7a7ca413fd41b7c5ced07fd0fc4dff

the upper one is the "restored face video" and the bottom one is the "generated video". the "restored face video" has overall better looking eyes but only problem is the rectangular shape which appears around the mouth and it cuts off the tip of the chin a bit; however, the "generated video" looks closer to the original video, but the dark batches and shadows around the mouth makes it unpleasant and unnatural. i would prefer the "restored face video" without the rectangular shape.

here are the "restored face video" and the "generated video" for a clearer view of what I meant:

tsts1.mp4
tsts2.mp4

here is the setting im using now:
image

from sd-wav2lip-uhq.

numz avatar numz commented on July 16, 2024

You can try "only mouth" option, mouton mask dilate something like 30 and "mask blur" between 30 and 60.
Let me know

from sd-wav2lip-uhq.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.