blind_watermark icon indicating copy to clipboard operation
blind_watermark copied to clipboard

Blind&Invisible Watermark ,图片盲水印,提取水印无须原图!

Results 32 blind_watermark issues
Sort by recently updated
recently updated
newest added

- add feature: images can now be loaded from the `bytes()` object - update `README_cn.md` - have NOT updated `README.md` yet

![测试图片](https://github.com/guofei9987/blind_watermark/assets/40518405/98ea3074-d49f-4e9d-bf58-b4171e523511) 使用项目中自带的二维码图片给这个图片打上水印 ![第一次打水印的结果](https://github.com/guofei9987/blind_watermark/assets/40518405/2c18093b-56cb-40dd-a822-9a7d6a0f48db) 再次给上面打上水印的图片再次打上自己的二维码图片水印 ![第二次打水印的结果](https://github.com/guofei9987/blind_watermark/assets/40518405/74797055-3f24-4922-8b17-e249cd8413bc) 成功解出了我的水印, 并且设置不同的密码依然可以覆盖 ![wm_extracted](https://github.com/guofei9987/blind_watermark/assets/40518405/2114f9ed-2209-4fbb-bbc0-64f5d751f16d) 测试代码: ```Python #!/usr/bin/env python3 # -*- coding: utf-8 -*- import cv2 from blind_watermark import WaterMark import os os.chdir(os.path.dirname(__file__)) bwm = WaterMark(password_wm=123, password_img=123)...

First of all, thanks for sharing this amazing watermark tool! The problem I came across is that, when I running the example code in the [doc](https://github.com/guofei9987/blind_watermark#use-in-bash) ```sh # embed watermark...

I tested with this [website](https://pixlr.com/x/) and with [GIMP](https://www.gimp.org/) to edit the watermarked image and I only crop/resize the image slightly for example used a JPG image with result of JPG...

在检查图片尺寸时,原本重复检查了两次长度,修正为长+宽

已经上好水印的加密图: ![加密图](https://github.com/guofei9987/blind_watermark/assets/49616714/576b4bc2-2e0a-405b-9768-8e67afa639a7) 写入版权信息如下:(隐写长度616) ``` text 版权所有:言七,QQ:Seven702(3546785319),仅供本人卖家秀 ``` 之后,测试攻击,色相攻击: ![攻击图](https://github.com/guofei9987/blind_watermark/assets/49616714/97acb2fe-d20d-4c51-8fba-f4297736e210) 。最终解密结果: ``` text 版权所有:言�8�,QQ:Sevdn702(3546785319),仅供本人卖家秀 ``` 虽然这个结果还行吧,我安慰她毕竟遭到了破坏,多少会损失一点。所以这个问题咱不急,但倘若能够抵抗掉这种攻击,那就更好了。 再附上另外一组测试: ``` text 版权所有Seven702(QQ:Seven702(3546785319),画➕账号:言七Seven,哔哩哔哩:屑人言七,inner:Seven702),本图仅供参考,禁止非宣传外的一切使用 ``` 🔽🔽🔽 ``` text ������所有Seven702(QQ:Seren702(354678531{(� 画➕账号>言���Seven,ᓄ哩哔哩:屑人言亃,inner:even702ノ,杬图仅供���考,�止�ݎ宣传礖的亀切䝿用 ```

对添加水印的图片进行缩放后 无法提取水印 请问如何解决

https://github.com/guofei9987/blind_watermark/blob/b68b14b6bd7da0ea33391183b62094a6463a2034/blind_watermark/bwm_core.py#L52 ```python self.img_YUV = cv2.copyMakeBorder(cv2.cvtColor(self.img, cv2.COLOR_BGR2YUV), 0, self.img.shape[0] % 2, 0, self.img.shape[1] % 2, cv2.BORDER_CONSTANT, value=(0, 0, 0)) ``` https://github.com/guofei9987/blind_watermark/blob/b68b14b6bd7da0ea33391183b62094a6463a2034/blind_watermark/bwm_core.py#L131 ```python # 之前如果不是2的整数,增加了白边,这里去除掉 embed_img_YUV = embed_img_YUV[:self.img_shape[0], :self.img_shape[1]] embed_img = cv2.cvtColor(embed_img_YUV,...

但是楼主的二维码图片会有噪点,倒是和我做出来的一致。 是否楼主用了特殊的trick?