-
Notifications
You must be signed in to change notification settings - Fork 140
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
Apply part swapping on selected part of full size video, like DeepFake work? #34
Comments
This is rather complicated, need to write code for frame detection and back Inpainting. |
I guess it will be easier to try some exiting solution for this. |
yes, it takes more time like 4-5 min to create a face-swapping. but get a good result. |
|
OK let me try it. |
Yes, crop video will produce you ffmpeg commands for cropping. Also you may need to tweek default parameters of crop-video, if you want to include all the chunks. |
Ok, let me try once. then get to know what challenges are made from my side. will update on this soon. |
I get success in this now all things work. here I attach a video. greatee bro!! completed.1.mp4but two things I want to change. how can make all these things automatic just one click and want to improve the result? |
@urmit-space Hi, could you share the code about how to place the croped video back to the original positions (positions is a part of the ffmpeg command). It is appreciated If I can received your reply. |
@Hpjhpjhs you get x, y, and size from the crop frame. you need to add an overlay video on the current video with respect frame.
Maybe this will help. |
@urmit-space Thank you so much. That's very helpful. |
How can apply part swapping in this video on a particular portion.?
I get a very unwanted result in the whole video. I know in this video we should detect the face in the full-size video then apply the mask on a particular part. maybe, I know the process but don't know where to start. or is that use different method can you please tell that. can you please take time and help with that!!!?
ir_01.mp4
Iron man replace with this vin image
The text was updated successfully, but these errors were encountered: