Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

程序执行无误,但结果貌似达不到要求 #7

Open
Ensuperb opened this issue Sep 8, 2020 · 5 comments
Open

程序执行无误,但结果貌似达不到要求 #7

Ensuperb opened this issue Sep 8, 2020 · 5 comments

Comments

@Ensuperb
Copy link

Ensuperb commented Sep 8, 2020

image
image

@Ensuperb
Copy link
Author

Ensuperb commented Sep 8, 2020

无论是python2 的版本还是python3 的版本都有这样的情况,请教。

@Ensuperb
Copy link
Author

Ensuperb commented Sep 8, 2020

alpha 参数从1调整到10都没有达到效果,请问还需要调整什么参数吗

@Ensuperb
Copy link
Author

Ensuperb commented Sep 8, 2020

但是现成encode的图片you有效果
image

@yasmin992
Copy link

can you write both codes?

@Ensuperb
Copy link
Author

Ensuperb commented Oct 2, 2020

can you write both codes?

第一,我是用的是python2.7.18来完成此工作的。使用的bwm的版本分支也是python2的 i use python2.7.18 to finish this work, and the banch is also python2.
image

其次,我的python满足下列库需求。(下列是环境,并非重点) The following list is my env , only to refer.
attrs 19.3.0
backports-abc 0.5
backports.functools-lru-cache 1.6.1
backports.shutil-get-terminal-size 1.0.0
backports.shutil-which 3.5.2
bleach 3.1.5
certifi 2020.6.20
chardet 3.0.4
colorama 0.4.3
configparser 4.0.2
contextlib2 0.6.0.post1
crypto 1.4.1
cycler 0.10.0
decorator 4.4.2
defusedxml 0.6.0
entrypoints 0.3
enum34 1.1.10
functools32 3.2.3.post2
futures 3.3.0
gmpy2 2.1.0a1
idna 2.9
importlib-metadata 1.6.1
ipaddress 1.0.23
ipykernel 4.10.1
ipython 5.10.0
ipython-genutils 0.2.0
ipywidgets 7.5.1
Jinja2 2.11.2
jsonschema 3.2.0
jupyter 1.0.0
jupyter-client 5.3.4
jupyter-console 5.2.0
jupyter-core 4.6.3
kiwisolver 1.1.0
libnum 1.4
MarkupSafe 1.1.1
matplotlib 2.2.5
mistune 0.8.4
Naked 0.1.31
nbconvert 5.6.1
nbformat 4.4.0
notebook 5.7.9
numpy 1.16.6
opencv-python 4.1.2.30
packaging 20.4
pandocfilters 1.4.2
pathlib2 2.3.5
pickleshare 0.7.5
pip 20.2.2
prometheus-client 0.8.0
prompt-toolkit 1.0.18
Pygments 2.5.2
pyparsing 2.4.7
pyrsistent 0.16.0
python-dateutil 2.8.1
pytz 2020.1
pywin32 228
pywinpty 0.5.7
PyYAML 5.3.1
pyzmq 19.0.1
qtconsole 4.7.5
QtPy 1.9.0
requests 2.24.0
scandir 1.10.0
Send2Trash 1.5.0
setuptools 41.2.0
shellescape 3.8.1
simplegeneric 0.8.1
singledispatch 3.4.0.3
six 1.15.0
terminado 0.8.3
testpath 0.4.4
tornado 5.1.1
traitlets 4.3.3
urllib3 1.25.9
wcwidth 0.2.5
webencodings 0.5.1
widgetsnbextension 3.5.1
win-unicode-console 0.5
zipp 1.2.0

重点是下面的库 but the important thing is following repo
image

然后, 有些库例如cv2库其实是opencv需要自己手动装,至少在中国的网络是这样( and ,some repo like cv2 in fact that Opencv need install by hand, at least in China network)

最后,我输入的指令是 python2 ./decode.py --original .\huyao.png --image .\stillhuyao.png --result re.png 成功。
Lastly, my input code is python2 ./decode.py --original .\huyao.png --image .\stillhuyao.png --result re.png and it success.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants