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

12306的例子跑不起来 #47

Closed
xiangrong2017 opened this issue Dec 9, 2020 · 1 comment
Closed

12306的例子跑不起来 #47

xiangrong2017 opened this issue Dec 9, 2020 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@xiangrong2017
Copy link

def cracker(imagepath):
# 打开验证码图片
img = Image.open(imagepath)
# 识别验证码图片
result = IdentifyAPI(img)
# 返回识别结果(百度网盘为数字验证码)
return result

这个IdentifyAPI未定义?

@CharlesPikachu
Copy link
Owner

CharlesPikachu commented Dec 10, 2020

这只是一个示例代码,教你如何自定义一个函数来识别验证码,从而无需人工识别输入,并不是一个完整可运行的Demo,IdentifyAPI需要你自己定义

@CharlesPikachu CharlesPikachu added the help wanted Extra attention is needed label Dec 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants