GithubHelp home page GithubHelp logo

原图是不是满足什么样的条件才可以识别出暗码?我电脑截屏了一个图片无法识别出暗码 about blind_watermark HOT 5 CLOSED

guofei9987 avatar guofei9987 commented on May 15, 2024
原图是不是满足什么样的条件才可以识别出暗码?我电脑截屏了一个图片无法识别出暗码

from blind_watermark.

Comments (5)

warm-ice0x00 avatar warm-ice0x00 commented on May 15, 2024 1

截图用 PIL resize 到原图尺寸就可以识别了。

from blind_watermark.

guofei9987 avatar guofei9987 commented on May 15, 2024

大多数能识别的。

如果图片大部分在低频区域,算法需要调参。相关方法我已经写好了(虽然还比较粗糙,有空再优化)bwm.extract_raw

from blind_watermark.

Daniel-He-KX avatar Daniel-He-KX commented on May 15, 2024

截图的方式也解决了?

from blind_watermark.

Vickko avatar Vickko commented on May 15, 2024

截屏攻击确实无法识别。

我在m1 MacBook,macos11.3上尝试了readme内的样例图片,具体方式为使用原图和水印生成embedded.png后,使用系统自带的预览app打开,放大至全屏并截屏。生成新的screenshot图片后尝试extract,生成噪声图片,无法识别。
exscreenshot

ori_img
watermark
embedded
screenshot

from blind_watermark.

guofei9987 avatar guofei9987 commented on May 15, 2024

最近更新了一个版本,对截屏攻击的抵抗力大大增强,见于这里:

# %% 截屏攻击 = 剪切攻击 + 缩放攻击 + 不知道攻击参数

from blind_watermark.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.