Giter Site home page Giter Site logo

limitedonly41 / slbr-visible-watermark-removal Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bcmi/slbr-visible-watermark-removal

0.0 0.0 0.0 4.73 MB

[ACM MM 2021] Visible Watermark Removal via Self-calibrated Localization and Background Refinement

Shell 1.41% Python 98.59%

slbr-visible-watermark-removal's Introduction

Visible Watermark Removal via Self-calibrated Localization and Background Refinement


Introduction

This is the official code of the following paper:

Visible Watermark Removal via Self-calibrated Localization and Background Refinement[1]
Jing Liang1, Li Niu1, Fengjun Guo2, Teng Long2 and Liqing Zhang1
1MoE Key Lab of Artificial Intelligence, Shanghai Jiao Tong University
2INTSIG
(ACM MM 2021 | Bibtex)

SLBR Network

Here is our proposed SLBR(Self-calibrated Localization and Background Refinement). Top row depicts the whole framework of SLBR and bottom row elaborates the details of our proposed three modules.

Some examples of inharmonious region
Some examples of inharmonious region

Quick Start

Install

Data Preparation

In this paper, we conduct all of the experiments on the latest released dataset CLWD[2] and LVW[3]. You can contact the authors of LVW to obtain the dataset.

Train and Test

  • How to train and test my model?

    We provide an example of training and a test bash respectively:scripts/train.sh, scripts/test.sh

    Please specify the checkpoint save path in --checkpoint and dataset path in--dataset_dir.

  • How to test on my data?

    We also provide an example of a custom data test bash: scripts/test_custom.sh And you can further tailor test_custom.py to meet your demands. For the best performance, it is better to finetune on your dataset since our training data size is set as 256x256.

Pretrained Model

Here is the model trained on CLWD dataset:

Visualization Results

We also show some qualitative comparision with state-of-art methods:

Some examples of inharmonious region

Acknowledgements

Part of the code is based upon the previous work SplitNet[4].

Citation

If you find this work or code is helpful in your research, please cite:

@inproceedings{liang2021visible,
  title={Visible Watermark Removal via Self-calibrated Localization and Background Refinement},
  author={Liang, Jing and Niu, Li and Guo, Fengjun and Long, Teng and Zhang, Liqing},
  booktitle={Proceedings of the 29th ACM International Conference on Multimedia},
  pages={4426--4434},
  year={2021}
}

Resources

We have summarized the existing papers, codes, and datasets on visible watermark removal in the following repository: https://github.com/bcmi/Awesome-Visible-Watermark-Removal

Reference

[1] Jing Liang, Li Niu, Fengjun Guo, Teng Long and Liqing Zhang. 2021. Visible Watermark Removal via Self-calibrated Localization and Background Refinement. In Proceedings of the 29th ACM International Conference on Multimedia. download

[2] Liu, Yang and Zhu, Zhen and Bai, Xiang. 2021. WDNet: Watermark-Decomposition Network for Visible Watermark Removal. In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision.

[3] Danni Cheng, Xiang Li, Wei-Hong Li, Chan Lu, Fake Li, Hua Zhao, and WeiShi Zheng. 2018. Large-scale visible watermark detection and removal with deep convolutional networks. In Chinese Conference on Pattern Recognition and Computer Vision. 27โ€“40.

[4] Xiaodong Cun and Chi-Man Pun. 2020. Split then Refine: Stacked Attentionguided ResUNets for Blind Single Image Visible Watermark Removal. arXiv preprint arXiv:2012.07007 (2020).

slbr-visible-watermark-removal's People

Contributors

jimleungjing avatar ustcnewly avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.