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

  • Post author:
  • Post category:python


项目地址:

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

pixel



版权声明:本文为weixin_33846982原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。