IMPORTANT !!!
THANKS FOR SOMEONE SUGGESTION, THIS REPO WILL NOT PROVIDE ANY CODE ANY MORE
WHAT HAD YOU DONE WITH MY CODE IS NO RELATIONSHIP WITH ME
Please run with Python 3.6.5
- docker pull whitelok/watermark-remover:v1.0
cd watermark-remover; pip3 install -r requirements.txt
- Install opencv Python3 binding.(If you need, I can share one to you)
bash train.sh
for training the watermark and alpha saving in result folder and remove watermark from original image.
- Training tips
- if the watermark free result is not good enough, you can change
--iters
(refer to train.sh) - if the training process is too long to wait, you can change
--watermark_threshold
(refer to train.sh) - if you get tk_inter error, you can change
--save_result
(refer to train.sh)
- Put all watermarked images into one folder
- python3 main_solver.pyc --path [watermarked images folder]