项目地址:
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