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

Exception? #9

Closed
Midnight1155 opened this issue Apr 15, 2019 · 2 comments
Closed

Exception? #9

Midnight1155 opened this issue Apr 15, 2019 · 2 comments

Comments

@Midnight1155
Copy link

Exception in thread Thread-11:
Traceback (most recent call last):
File "C:\Users\Yongj\AppData\Local\Programs\Python\Python37\lib\threading.py", line 917, in _bootstrap_inner
self.run()
File "C:\Users\Yongj\AppData\Local\Programs\Python\Python37\lib\threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "vehiclemoniter.py", line 72, in getLicensePlateNumber
X1=js['results'][0]['coordinates'][0]['x']
IndexError: list index out of range
issue1

@ShreyAmbesh
Copy link
Owner

It's happening because many subsequent requests are being sent to the openalpr api. You can put the requests in a queue and make the network api calls after a particular interval of time.

@NayanDoshi
Copy link

same problem happens with me also

please help

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