Please can anyone advise how to achieve better results using InpaintDelogo.
Using this script, I can remove about 50% of the logo as per:
Code:FFmpegSource2("D:\cats.mpg", atrack=-1) #InpaintLoc(Loc="60,36,-1150,-626") InpaintDelogo( mask="C:\test\cats.bmp",Automask=0, aMix=0, Loc="60,36,-1150,-626",Mode="Inpaint",Analyze=1, FrB=0, FrW=0, FrS=0)
Video - https://www.swisstransfer.com/d/fab3e44c-6cab-4eab-8f06-dac080800272
Mask - https://www.swisstransfer.com/d/f7f43edf-33f6-4a31-9290-b53346b3d965
Cheers
Steve
+ Reply to Thread
Results 1 to 5 of 5
-
Last edited by stevepen1974; 17th Feb 2025 at 15:12.
-
How did you got that bmp basemask? It's incorrect, mask should be full white (or it can be full red too, but I don't remember now).
This will correct it:
Code:LWLibAvVideoSource("D:\cats.mpg") m=ImageSource("D:\cats.bmp").Crop(60,36,-1150,-626).Trim(0,-1).ConvertToY8.mt_binarize InpaintDelogo(mask=m, Loc="60,36,-1150,-626", Mode="Inpaint")
-
Yesterday I didn't check it, your Loc is wrong too, you have to leave at least 10 pixels space around logo: Loc="50,26,-1140,-616"
Read the help about the parameters you are using, it's located at the top in InpaintDelogo.avsi, open it with Notepad or any other program for text.
I can't understand what that means.
Any image editor that has a 'Magic Wand' tool should be good for the job.
Or you can use InpaintDelogo's "Automask" function to get a basemask automatically.
Just change "Inpaint" to "Deblend". Deblend is much more complicated, but it's automated.
Similar Threads
-
Timestamp removal help with InpaintDelogo
By theseeker2 in forum RestorationReplies: 6Last Post: 6th Mar 2024, 07:51 -
[InpaintDelogo] hard logo
By maudit in forum EditingReplies: 1Last Post: 16th Nov 2023, 06:59 -
Issue with AvsPmod/InpaintDelogo
By Hakunamatata67 in forum SubtitleReplies: 7Last Post: 31st Jul 2023, 09:24 -
[help] InpaintDelogo help
By maudit in forum EditingReplies: 14Last Post: 2nd Sep 2022, 06:04 -
InpaintDelogo
By JAX75 in forum Newbie / General discussionsReplies: 39Last Post: 27th Oct 2021, 12:29