This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[HELP] How to delogo
#2
Quote: Can you suggest Which filter is better for delogo? inpaint delogo or pro painter?
No clue which is better. Hybrid only has ProPainter. Smile

Quote: How to create a mask? Extracting one frame out of the video and Highlighting areas which need to be removed as white and rest of the areas as black. right?
Correct, like you wrote. The resolution of the screenshot should be the same as the video at the position where you apply ProPainter.

Quote: How to get mask region?
The mask region defines the 2D region in which ProPainter can search for references and has a minium resolution of 256x256.
Usually you would look at the Vapoursynth Preview and the enable debug option of ProPainter and then adjust the region to:
a. include the part you want to remove
b. include enough data around it so ProPainter can find information for the removal (usually a small region is enough)

Using (just ProPainter no cleaning etc. with the attached mask):
clip = ProPainter(clip=clip, img_mask_path="C:/Users/Selur/Desktop/mask.png", length=500, mask_region=(256,256,380,0))
I got:
[Image: grafik.png]
[Image: grafik.png]
[Image: grafik.png]
[Image: grafik.png]
[Image: grafik.png]
script used: https://pastebin.com/ftLQGNE8

Cu Selur


Attached Files Thumbnail(s)
   
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Messages In This Thread
How to delogo - by Believer - 07.02.2025, 13:01
RE: How to delogo - by Selur - 07.02.2025, 13:42
RE: How to delogo - by Believer - 07.02.2025, 13:59
RE: How to delogo - by Selur - 07.02.2025, 14:05
RE: How to delogo - by Believer - 07.02.2025, 20:01
RE: How to delogo - by Selur - 07.02.2025, 20:04
RE: How to delogo - by Believer - 11.02.2025, 10:12
RE: How to delogo - by Selur - 11.02.2025, 16:33

Forum Jump:


Users browsing this thread: 1 Guest(s)