07.02.2025, 13:42
Quote: Can you suggest Which filter is better for delogo? inpaint delogo or pro painter?No clue which is better. Hybrid only has ProPainter.

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))
![[Image: grafik.png]](https://i.ibb.co/s9M6jgBc/grafik.png)
![[Image: grafik.png]](https://i.ibb.co/zVDMGQk8/grafik.png)
![[Image: grafik.png]](https://i.ibb.co/JjnkqYLR/grafik.png)
![[Image: grafik.png]](https://i.ibb.co/MkdP0wS1/grafik.png)
![[Image: grafik.png]](https://i.ibb.co/XdJYtsP/grafik.png)
script used: https://pastebin.com/ftLQGNE8
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.