/watermark-remover

Remove watermark automatically(Just can use for fixed position watermark till now). 自动水印消除算法的实现(目前只支持固定水印位置)。

Primary LanguagePython

Watermark Remover Automatically

Tips

If you want the source code, please exchange with your code. I am not the free worker of you.

Please run with Python 3.6.5

Result

Result with demo images

Result with pratical images

Docker runtime [Recommendation]

  • docker pull whitelok/watermark-remover:v1.0

Install

  1. cd watermark-remover; pip3 install -r requirements.txt
  2. Install opencv Python3 binding.(If you need, I can share one to you)

Usage

Demo

  1. bash train.sh for training the watermark and alpha saving in result folder and remove watermark from original image.

Tips

  • Training tips
  1. if the watermark free result is not good enough, you can change --iters (refer to train.sh)
  2. if the training process is too long to wait, you can change --watermark_threshold (refer to train.sh)
  3. if you get tk_inter error, you can change --save_result (refer to train.sh)

Customer

  1. Put all watermarked images into one folder
  2. python3 main_solver.pyc --path [watermarked images folder]

Progress and Implemented function