You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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.
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
The text was updated successfully, but these errors were encountered: