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

IndexError: list index out of range #4

Closed
jinaeiu opened this issue Aug 27, 2018 · 10 comments
Closed

IndexError: list index out of range #4

jinaeiu opened this issue Aug 27, 2018 · 10 comments

Comments

@jinaeiu
Copy link

jinaeiu commented Aug 27, 2018

我运行的时候出现了“IndexError: list index out of range”这个错误,试着百度然后自己调试,可是都没有用,请问这种情况应该怎么改?

@1114319054
Copy link
Owner

能附一下报错的图吗?

@jinaeiu
Copy link
Author

jinaeiu commented Aug 28, 2018

昨天那个问题没有了 但是刚刚运行的时候一直循环
1

@1114319054
Copy link
Owner

这个错误更换一下tesseract的版本即可

@jinaeiu
Copy link
Author

jinaeiu commented Aug 28, 2018

那我应该用哪个版本? 我下的是4.0版的

@1114319054
Copy link
Owner

我使用的是tesseract 3.05.01dev版本,可能4.0版本存在问题,可关注以下问题:
openpaperwork/pyocr#99

@jinaeiu
Copy link
Author

jinaeiu commented Aug 28, 2018

好的 谢谢你!

@jinaeiu
Copy link
Author

jinaeiu commented Aug 28, 2018

不好意思,再次打扰一下,版本问题已解决,但是为什么循环不执行?
image

@1114319054
Copy link
Owner

我设计的是死循环,Ctrl c退出,验证码通常试几次才会正确

@jinaeiu
Copy link
Author

jinaeiu commented Aug 28, 2018

哦哦 那这种方式在不清楚座位号和考场号的情况下那会运行很久?

@1114319054
Copy link
Owner

是的,相当于一个一个准考证号去试

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