Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
|
Thread Tools | Search this Thread | Display Modes |
21st November 2021, 21:46 | #241 | Link |
Registered User
Join Date: Oct 2021
Posts: 11
|
V2 = InpaintDelogo( mask="H:\Mask9.bmp",
\ Automask=0, aMix=-0,Loc="1018,920,-248,-106", \ Mode="Inpaint", \ Analyze=3, FrW=54, FrS=0,dPP=0,Show=1,Inflate=2) https://imgur.com/a/bO2XYi6 |
21st November 2021, 22:13 | #242 | Link |
Banana User
Join Date: Sep 2008
Posts: 985
|
You didn't set a black frame: FrB.
dPP has nothing to do with Inpaint mode. EDIT: How did you get that mask? It's incorrect: Mask should be: white where logo is, and the rest is black.
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling Last edited by VoodooFX; 22nd November 2021 at 05:54. |
22nd November 2021, 04:04 | #243 | Link | ||
Registered User
Join Date: Apr 2013
Posts: 346
|
Quote:
Question: if I am creating a manual mask (all blue 255 background with the logo white), why bother with the location of the logo? When I tried setting Loc=”0,0,-0,-0” , and applied the manual mask mentioned, the logo was covered exactly as it is when a selection tightly bound by location coordinates is used. Quote:
I like that idea of all masks into one file! |
||
22nd November 2021, 05:52 | #244 | Link | ||
Banana User
Join Date: Sep 2008
Posts: 985
|
Quote:
Loc is area which will be processed, if you process whole frame then it will be pretty slow. Quote:
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling |
||
22nd November 2021, 08:21 | #246 | Link | |
Banana User
Join Date: Sep 2008
Posts: 985
|
Quote:
Here is the mask I made with Photoshop from your screenshot: https://i.imgur.com/guOQbvt.png
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling |
|
22nd November 2021, 08:38 | #247 | Link | |
Registered User
Join Date: Oct 2021
Posts: 11
|
Quote:
you did it with Photoshop I don't know anything about photo editing I guess that's complicated to do ? |
|
22nd November 2021, 08:55 | #248 | Link |
Banana User
Join Date: Sep 2008
Posts: 985
|
It took me all ~30 seconds to do it.
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling |
22nd November 2021, 15:34 | #250 | Link | ||
Registered User
Join Date: Apr 2013
Posts: 346
|
Quote:
Using a blue mask even worked identically to a black mask when using Automask. However, I’ve decided not to use Automask because it doesn’t identify a logo image well enough and does falsely find other non-logos, despite amix settings and best efforts to get a solid black image in the location area, requiring manual adjustments in the image editor, anyway. The other reason that I say it wasn’t a mix-up with VDub’s DeLogo is because, from a user standpoint, VDub’s DeLogo doesn’t require a user-created mask. All you need do is to capture the image, open the image in a image editor, and paint the logo red (255,0,0 RGB). VDub’s DeLogo then takes it from there and, internally, processes it all. That may be an idea for simplifying InpaintDelogo for users, since you are de-constructing VDub’s DeLogo and looking for improvement ideas. Quote:
Last edited by Danette; 22nd November 2021 at 15:36. |
||
22nd November 2021, 16:58 | #251 | Link | ||
Banana User
Join Date: Sep 2008
Posts: 985
|
Quote:
Quote:
VDub mask has four colors for user to use: Blue, Red, Green and Black. That's way more complex than simply Black and White. I can't reduce colors count further.
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling Last edited by VoodooFX; 22nd November 2021 at 17:05. |
||
22nd November 2021, 18:29 | #252 | Link |
Registered User
Join Date: Oct 2021
Posts: 11
|
automask work via
InpaintDelogo( mask="E:\Mask15.bmp", \ Automask=0, aMix=0, Loc="1018,920,-248,-106", \ Mode="Inpaint", \ Analyze=4, FrB=499, FrW=800, FrS=0,show=1) https://imgur.com/a/iRGknHF |
22nd November 2021, 19:13 | #253 | Link |
Banana User
Join Date: Sep 2008
Posts: 985
|
You can still see logo outlines, that's because the mask doesn't cover all upscaled artifacts in your video. Try Inflate=2.
Btw, with Analyze=4 a white frame [FrW] is not used.
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling |
22nd November 2021, 19:24 | #254 | Link |
Registered User
Join Date: Oct 2021
Posts: 11
|
still artifacts
InpaintDelogo( mask="E:\Mask15.bmp", \ Automask=0, aMix=0, Loc="1018,920,-248,-106", \ Mode="Inpaint", \ Analyze=4, FrB=499, FrW=800, FrS=0,show=1,Inflate=2) https://imgur.com/a/1SC2mkD |
22nd November 2021, 20:21 | #255 | Link |
Banana User
Join Date: Sep 2008
Posts: 985
|
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling |
22nd November 2021, 21:07 | #256 | Link | ||||
Registered User
Join Date: Apr 2013
Posts: 346
|
I think we’re getting twisted-up in semantics:
Quote:
This blue mask background was confirmed to be blue by other image editors. If you’re interested in trying this blue version, I can send the file, but you could probably do it as easily by creating the blue mask with your own editor. It’s not an issue, just a point of curiosity. Quote:
Quote:
Quote:
Last edited by Danette; 22nd November 2021 at 22:02. |
||||
22nd November 2021, 22:41 | #257 | Link | |||
Banana User
Join Date: Sep 2008
Posts: 985
|
Quote:
Quote:
Quote:
That's for opaque logos, for transparent one there are four colors for a mask.
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling Last edited by VoodooFX; 22nd November 2021 at 23:34. |
|||
23rd November 2021, 00:43 | #258 | Link |
Registered User
Join Date: Apr 2013
Posts: 346
|
The image editor is an old version of Ulead PhotoImpact.
Perhaps I don’t understand what a mask is, as you said. When we paint the logo, that is the mask …correct? What I have found is that, for both color and B&W videos, if I use a saved image of a video frame and simply paint the logo gray or white, with the PhotoImpact mask tool, it works without having a black base layer. This is similar to VDubs DeLogo, except that white or gray is used to paint the logo instead of red. Do you see anything wrong with this approach to using InpaintDelogo? BTW: wonkey_monkey is looking for examples of moving logos within a video, in case you can provide any. The link is in a previous post. Last edited by Danette; 23rd November 2021 at 00:45. |
23rd November 2021, 02:06 | #259 | Link | |
Banana User
Join Date: Sep 2008
Posts: 985
|
Quote:
It's opposite of "similar", in VDub you do as instructed - paint mask red, when in here against all instructions you paint some random colors. Why you don't paint some random stuff in VDub's masks? I don't understand, at all...
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling Last edited by VoodooFX; 23rd November 2021 at 14:26. |
|
23rd November 2021, 03:17 | #260 | Link | |
Registered User
Join Date: Apr 2013
Posts: 346
|
Quote:
Sorry to cause frustration, but the InpaintDelogo instructions leave much to be desired in terms of guidance. So, we are left to our own devices in terms of choosing a color for manual mask creation. I’d be very interested if you could point me to any part of the manual where it states what color to paint the logo and whether or not the background/base should be a certain color. I started with RGB, black and white. After much trial and error, I came up with gray and white as those colors that work for painting the logo. From what I can tell of the instructions, virtually all guidance is for Automask, but Automask performs rather poorly on every video that I’ve thrown at it. Using the Automask base of black caused my image editor to exhibit a blue base. Not all image editors appear to be created equally so, when you expect black, but get blue, you work with that, since it does the job. With no instruction for manual mask creation apparent, I look for trial and error solutions. From this process, I found that the black base seems to work no better than an original video image. I was simply asking for confirmation that the process I stumbled upon, when not using Automask, was ok given what you know of the code. Much of the problems that many are struggling with on this thread could be avoided by providing a step-by-step guide on manual mask creation. I'll back away and follow the progress as others squeeze info out in this thread. Incidentally: you were quite helpful on other issues and I thank you for that. Last edited by Danette; 23rd November 2021 at 03:24. |
|
Tags |
delogo, hardsubs, ocr, remove, watermark |
Thread Tools | Search this Thread |
Display Modes | |
|
|