guofei9987 / blind_watermark

Blind&Invisible Watermark ,图片盲水印,提取水印无须原图!
https://blindwatermark.github.io/blind_watermark/#/en/
MIT License
5.75k stars 683 forks source link

可以在命令行下运行吗? #37

Closed dishao123 closed 3 years ago

guofei9987 commented 3 years ago

刚发布的 0.1.1 版本已经增加了命令行功能

# 嵌入水印:
blind_watermark --embed -p 1x1 pic/ori_img.jpg pic/watermark.png output/embedded.png
# 提取水印:
blind_watermark --extract -p 1x1 --wm_shape 128x128 output/embedded.png output/wm_extract.png