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

当前 ocr 服务的接口地址 #5

Open
sphinxrascal opened this issue Nov 25, 2019 · 2 comments
Open

当前 ocr 服务的接口地址 #5

sphinxrascal opened this issue Nov 25, 2019 · 2 comments

Comments

@sphinxrascal
Copy link

这是什么意思,我已经下载了12306-ocr,放入了文件夹中,怎么更改原来helper中的api呢

@pjialin
Copy link
Owner

pjialin commented Nov 26, 2019

看下 readme 呢

对接 Py12306

打开 py12306 目录下的 py12306/helpers/api.py 文件,找到 API_FREE_CODE_QCR_API= 的位置,并替换成当前 ocr 服务的接口地址,如:

API_FREE_CODE_QCR_API = 'http://127.0.0.1:8082/check/'

@HashWaney
Copy link

你的ocr服务是用的百度的,你给的地址是本地地址:http://127.0.0.1:8082

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

3 participants