Skip to content
Watermark added to the frequency domain by Fourier transform
Branch: master
Clone or download
Latest commit 38270b9 Apr 25, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Initial commit Nov 26, 2016
README.md Update README.md Apr 24, 2018
decode.py fix alpha Jan 30, 2018
encode.py fix alpha Jan 30, 2018
extract.png upload Nov 26, 2016
ori.png upload Nov 26, 2016
res.png upload Nov 26, 2016
watermark.png upload Nov 26, 2016

README.md

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

You can’t perform that action at this time.