Skip to content

Invisible Image Watermarks Are Provably Removable Using Generative AI

License

Notifications You must be signed in to change notification settings

Coffsy/WatermarkAttacker

 
 

Repository files navigation

WatermarkAttacker

Welcome to contribute to this project!

This repository contains the code for the paper Invisible Image Watermarks Are Provably Removable Using Generative AI.

We propose a family of regeneration attacks to remove invisible image watermarks. The attack method effectively removes invisible watermarks.

Our attack first maps the watermarked image to its embedding, which is another representation of the image. Then the embedding is noised to destruct the watermark. After that, a regeneration algorithm reconstructs the image from the noisy embedding. As shown in the figure below:

demo

Example

First, install the dependencies:

pip install -r requirements.txt

Then, run the following command to install modified diffusers

pip install -e .

Then you can try the demo in demo.ipynb.

This demo attacks invisible-watermark which is used in stable diffusion.

About

Invisible Image Watermarks Are Provably Removable Using Generative AI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 96.3%
  • Jupyter Notebook 3.7%