-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
What can i solve the face box? #8
Comments
I can solve it, working on something that stops the box jittering first this will help when I code the box removal. (note: It's good to watch the first few mins of the davinci tut even if you don't have it as it will explain difference in length between the input & output although I will later automate that) |
Can I use the python code?
…---- Replied Message ----
| From | ***@***.***> |
| Date | 05/08/2024 01:16 |
| To | Inferencer/LipSick ***@***.***> |
| Cc | skeleton ***@***.***>,
Author ***@***.***> |
| Subject | Re: [Inferencer/LipSick] What can i solve the face box? (Issue #8) |
I can solve it, working on something that stops the box jittering first this will help when I code the box removal.
For a quick fix while I'm working on it you can manually mask using a video editing tool
(note: It's good to watch the first few mins of the davinci tut even if you don't have it as it will explain difference in length between the input & output although I will later automate that)
Davinci Tut
or
After Effects Tut
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
when it's working I'll upload it, could be end of this week or it could be end of next week |
Thank You! |
I always assumed this was due to the pre-trained model being trained on low quality dark lighting datasets but I guess it could be possible to attempt to match the lighting which could affect the color I will certainly do some experiments to find out |
Crop_radius_example.1.mp4The custom crop radius has now been uploaded in the windows/ main branch so after you calculate the crop_radius in the crop radius tab and set the recommended value in the main tab you will get less box flickering so that's stage one done which will help with box removal. I need to make this more user friendly though |
I understand it should conform to the lighting color information in the reference image, but it seems that this information has not been learned. |
Another theory is as its currently using 5 reference frames.. (I will change that soon to use an optional single frame up to 5 frames) This is an example of bad skin and teeth then after there is an example of using a single reference frame for all frames, although the target was doing weird chin movements in both videos I was more focused on the teeth at the time BadSkin.mp4Teeth.mp4As you can see the skin color matching improves, for clarification this was a single reference frame and the reference frame was up-scaled with GFPGAN so my current theory is its using too many reference frames and also teeth related, based on past experiments when the teeth are dim so is the skin, the worse quality the teeth the worse quality & color the skin. |
Excellent conclusion, I will try it. |
In some cases, I use silent audio to get them to shut up and the mouth can close completely. But the generated frame video is constantly shaking due to the presence of the frame. default.mp4 |
I created a decent detector for the best crop radius but just found that the new crop radius is not correctly implemented into the code so it's defaulting to the normal shaking regardless of crop radius, will fix soon to prevent shaking. |
Correct crop radius detection has now been implemented in the advanced accordion, I Believe even without using custom crop radius it defaults to most common crop radius this should now prevent box flickering so I can now move into testing box removal methods. Hope this helps |
Great Job! When i infer the video, it can be found that there is a box for face. Can you solve it? Thank you!
The text was updated successfully, but these errors were encountered: