微慑信息网

马赛克消除还原工具Depix测试

项目地址:

https://github.com/beurtschipper/Depix


python depix.py -p [pixelated rectangle image] -s [search sequence image] -o output.png

参数说明:

-p 打了马赛克的图片
-s 辅助解码的图片

测试图片和辅助图片都在image文件夹中有,image文件夹对应几个文件,应该跟操作系统有关?:

debruinseq.txt

debruinseq_notepad_Windows10_close.png
debruinseq_notepad_Windows10_closeAndSpaced.png

debruinseq_notepad_Windows10_spaced.png
debruinseq_notepad_Windows7_close.png

如果python不行就换成python3
遇到什么问题去官网下的论坛找解决方案
https://github.com/beurtschipper/Depix/issues/12

我在测试时,python2报错:

INFO:root:Loading search image from ./images/searchimages/debruinseq_notepad_Win
dows7_close.png
INFO:root:Finding color rectangles from pixelated space
Traceback (most recent call last):
File “depix.py”, line 39, in <module>
pixelatedSubRectanges = findSameColorSubRectangles(pixelatedImage, pixelated
Rectange)
File “C:\Users\**\Desktop\Depix-main\Depix-main\depixlib\functions.py”, line
55, in findSameColorSubRectangles
sameColorRectange = findSameColorRectangle(pixelatedImage, (x, y), (maxx, ma
xy))
File “C:\Users\***\Desktop\Depix-main\Depix-main\depixlib\functions.py”, line
39, in findSameColorRectangle
return ColorRectange(color, (startx, starty), (startx + width, starty + heig
ht))
File “C:\Users\**\Desktop\Depix-main\Depix-main\depixlib\Rectangle.py”, line
21, in __init__
super(ColorRectange, self).__init__(startCoordinates, endCoordinates)
TypeError: super() argument 1 must be type, not classobj

python3是OK的:

就是耗时太长…..


 

测试图片:

测试结果图片:

呃…就多了这一点?效果堪忧。

ps:打码使用的QQ自带打码功能

 

 

赞(0) 打赏
转载请附本站链接,未经允许不得转载,,谢谢:微慑信息网-VulSee.com » 马赛克消除还原工具Depix测试

评论 抢沙发

微慑信息网 专注工匠精神

微慑信息网-VulSee.com-关注前沿安全态势,聚合网络安全漏洞信息,分享安全文档案例

访问我们联系我们

觉得文章有用就打赏一下文章作者

非常感谢你的打赏,我们将继续提供更多优质内容,让我们一起创建更加美好的网络世界!

支付宝扫一扫打赏

微信扫一扫打赏

登录

找回密码

注册