neuralchen / SimSwap

An arbitrary face-swapping framework on images and videos with one single trained model!
Other
4.55k stars 895 forks source link

Watermark - Question ❓ (none issue) #25

Closed AlonDan closed 3 years ago

AlonDan commented 3 years ago

Sorry if my question sound too rude to ask: Is it possible to remove the watermark with an addition parameter?

In case the author are not interested allowing to remove the watermark I will respect that of course. Just to be clear I didn't mean to be rude but wondering if possible.

Thanks ahead and please keep up the good work! :)

justinjohn0306 commented 3 years ago

Yes you can

On Mon, Jun 28, 2021, 6:59 AM AlonDan @.***> wrote:

Sorry if my question sound too rude to ask: Is it possible to remove the watermark with an addition parameter?

In case the author are not interested allowing to remove the watermark I will respect that of course. Just to be clear I didn't mean to be rude but wondering if possible.

Thanks ahead and please keep up the good work! :)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/neuralchen/SimSwap/issues/25, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIDVKQ2GJ4ESM4OTHAAYSCDTU7F67ANCNFSM47M7JAJA .

AlonDan commented 3 years ago

Yes you can On Mon, Jun 28, 2021, 6:59 AM AlonDan @.***> wrote: Sorry if my question sound too rude to ask: Is it possible to remove the watermark with an addition parameter? In case the author are not interested allowing to remove the watermark I will respect that of course. Just to be clear I didn't mean to be rude but wondering if possible. Thanks ahead and please keep up the good work! :) — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#25>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIDVKQ2GJ4ESM4OTHAAYSCDTU7F67ANCNFSM47M7JAJA .

Thank you for replying.

Can you please explain how? I'm pretty much new to this and I'm not a programmer.

robbsaber commented 3 years ago

Yes you can On Mon, Jun 28, 2021, 6:59 AM AlonDan @.***> wrote: Sorry if my question sound too rude to ask: Is it possible to remove the watermark with an addition parameter? In case the author are not interested allowing to remove the watermark I will respect that of course. Just to be clear I didn't mean to be rude but wondering if possible. Thanks ahead and please keep up the good work! :) — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#25>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIDVKQ2GJ4ESM4OTHAAYSCDTU7F67ANCNFSM47M7JAJA .

Thank you for replying.

Can you please explain how? I'm pretty much new to this and I'm not a programmer.

I just tried this. Download the watermark and edit it (I made it an empty png) and put it back in its folder. Logo should be gone.

AlonDan commented 3 years ago

@robbsaber I just tried it few times but it's not working for me. Probably because it uses some blending mode or shapes, so the empty image become Green Block instead. (I use as PNG with Alpha of course, same exact file edited)

Can you attach your file so I'll try with your png?

Is there a cleaner way to do it with extra command when we run: "python test_video... " ?

robbsaber commented 3 years ago

I should mention I used the colab version. Here's my edited logo.

simswaplogo

AlonDan commented 3 years ago

I should mention I used the colab version. Here's my edited logo.

simswaplogo

Thank you! I appreciate it (I'm using Windows + Anaconda) your empty PNG version works, I'm not sure why it didn't work from exporting empty PNG (based on the original one) probably it changed something when export so it showed me green block instead of alpha.

robbsaber commented 3 years ago

I should mention I used the colab version. Here's my edited logo. simswaplogo

Thank you! I appreciate it (I'm using Windows + Anaconda) your empty PNG version works, I'm not sure why it didn't work from exporting empty PNG (based on the original one) probably it changed something when export so it showed me green block instead of alpha.

Glad it worked. This tool is really great. It's similar to the REFACE app on android but finally opensource. All I used to edit the logo was this easy auto background removal tool https://pixlr.com/remove-background/

AlonDan commented 3 years ago

Thanks for sharing! is this pixlr free or limited after X images or something?

I'm used to just open Phoroshop for minor stuff, but I guess the export was not as the original.

woctezuma commented 3 years ago

You can also use the no-logo branch of my fork to avoid generating a watermark.

AlonDan commented 3 years ago

You can also use the no-logo branch of my fork to avoid generating a watermark.

I wish I knew about it earlier hehe, thanks! :)

robbsaber commented 3 years ago

Thanks for sharing! is this pixlr free or limited after X images or something?

I'm used to just open Phoroshop for minor stuff, but I guess the export was not as the original.

As far as I know its unlimited.

NNNNAI commented 3 years ago

Due to copyright considerations, we did not provide any parameter for removing the watchmark. Many thanks~.

NNNNAI commented 3 years ago

Thanks for your comments. We have added a hyper parameter to allow users to choose whether to add the simswap logo as a watermark, please go to the section "About watermark of simswap logo" of Inference for image or video face swapping for details. Many thanks. : )

AlonDan commented 3 years ago

That's great and much more user-friendly, thank you so much for your great work!

The link on your last comment isn't' working, you may wanna update it, but it works fine from the main page, once again thank you! ❤

NNNNAI commented 3 years ago

It should be fine now, thanks for your reminder!

NNNNAI commented 3 years ago

The version just now has a small bug, it has been fixed now, make you have downloaded the latest version of ./util/videoswap.py.If you have any other questions, please feel free to ask :).