发布信息

马赛克大家在网上发图时,打码也不再安全

作者:软荐小编      2024-01-21 12:05:46     136

马赛克

人们在网上发布图片时能消除马赛克的软件,通常会使用马赛克来掩盖图片上的敏感信息。 例如,如果对身份证号码、姓名、地址进行马赛克覆盖,就可以有效达到保护信息安全的目的。 然而,随着图像AI的进步,编码不再安全[狗头]

德皮克斯

事实上,在Depix出现之前,已经有很多软件和项目声称可以解码,但结果并不理想。 首先我们在这里展示一下Depix的效果图。

第一张图片是编码后的图片能消除马赛克的软件,第二张图片是解码后的图片。 你就会知道结果会是什么。

项目详情

GitHub地址

https://github.com/beurtschipper/Depix

下载

git clone https://github.com/beurtschipper/Depix.git

使用

Cut out the pixelated blocks from the screenshot as a single rectangle.
Paste a De Bruijn sequence with expected characters in an editor with the same font settings (text size, font, color, hsl).
Make a screenshot of the sequence. If possible, use the same screenshot tool that was used to create the pixelized image.
Run python depix.py -p [pixelated rectangle image] -s [search sequence image] -o output.png

示例(命令行)

python depix.py -p images/testimages/testimage3_pixels.png -s images/searchimages/debruinseq_notepad_Windows10_closeAndSpaced.png -
o output.png

终于

出于安全考虑,建议不要使用马赛克。 最好的办法是直接用黑条或白条覆盖需要遮挡的区域。 这无法通过算法恢复。

相关内容 查看全部