chishaxie/BlindWaterMark

可以处理截图吗

Closed this issue · 2 comments

toxmc commented

报错
image<hui.png> + image(encoded)<1.png> -> watermark<2.png>
Traceback (most recent call last):
File "bwm.py", line 180, in
rwm = (f2 - f1) / alpha
ValueError: operands could not be broadcast together with shapes (744,794,3) (626,400,3)

你这个是两个图的尺寸不一致

toxmc commented

一张是生成图片的截图。要把截图的也转成一样大才能对比吗