• Stars
    star
    481
  • Rank 90,761 (Top 2 %)
  • Language
    Python
  • License
    MIT License
  • Created almost 8 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Watermark added to the frequency domain by Fourier transform

blind-watermark

This was written in Python2.7
Python3 Version

Usage

python encode.py --image <image file> --watermark <watermark file> --result <result file>

python decode.py --original <original image file> --image <image file> --result <result file>

Use --alpha to change the alpha (default 5.0).

Example

encode:

original image
image

watermark
image

python encode.py --image ori.png --watermark watermark.png --result res.png

result
image

decode:

python decode.py --original ori.png --image res.png --result extract.png

watermark
image