Giter Club home page Giter Club logo

traffic-rule-violation-detection-system's Introduction

Note - I am not able to maintain this repository because of shortage of time, so if anyone who is interested in helping maintain this repository can contact me and I can add you as a maintainer, Thanks.

Traffic Rule Violation Detection System

This project tries to detect a car whenever it crosses a Red Light or overspeeds. It uses tensorflow with an ssd object detection model to detect cars and from the detections in each frame each vehicle can be tracked across a video and can be checked if it crossed a redlight and speed of that vehicle can be calculated.

Getting Started

The project is made by using tensorflow so you must be familiar with tensorflow and basic object detection and you must also know basic maths for understanding the tracking algorithm. You must be also familiar with linux OS as I have made this on Ubuntu and didn't test on other platforms.

Prerequisites

Python packages to be installed

* Tensorflow (Tensorflow-gpu if you have Nvidia GPU)
* openCV
* imutils
* Pillow
* numpy
* tkinter
* urllib
* openALPR api

Make account on openalpr and get api secret key from OpenALPR

Installing

Clone the repo and paste your secret key in VehicleMoniter.py file on line 58. run the project by the command python3 VehicleMoniter.py

Working Preview

alt text

alt text

Note

Do not run the file in the object detection folder cloned from tensorflow as I have made some changes to the files.

Issues

If you find any problem you can contact me or raise an issue.

Built With

  • Tensorflow - ML library
  • OpenALPR - For detecting license plate and extracting license plate number

License

This project is licensed under the MIT License - see the LICENSE.md file for details

traffic-rule-violation-detection-system's People

Contributors

shreyambesh avatar sujaykadam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

traffic-rule-violation-detection-system's Issues

ERROR

Hello Sir,
While running the project I'm getting the following warnings and errors.
warning
error

QUESTION

I have run the project and I'm getting a picture as an output. The picture displays a single vehicle which violated the traffic rule as given below. The speed is displayed as 3.8km/hr. I have run project in windows using anaconda.
5
I thought the project would display the speed of each and every vehicle passed by and take a picture of the vehicle which has violated the traffic rule.
What should I do in order to get video output which displays speed of every vehicle and recognize it's number plate

Exception?

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

KeyError: "The name 'image_tensor:0' refers to a Tensor which does not exist. The operation, 'image_tensor', does not exist in the graph."

i have this error ;

Traceback (most recent call last): File "VehicleMoniter.py", line 278, in <module> image_tensor = tf.get_default_graph().get_tensor_by_name('image_tensor:0') File "C:\Users\Zakaria\Anaconda3\lib\site-packages\tensorflow\python\framework\ops.py", line 3972, in get_tensor_by_name return self.as_graph_element(name, allow_tensor=True, allow_operation=False) File "C:\Users\Zakaria\Anaconda3\lib\site-packages\tensorflow\python\framework\ops.py", line 3796, in as_graph_element return self._as_graph_element_locked(obj, allow_tensor, allow_operation) File "C:\Users\Zakaria\Anaconda3\lib\site-packages\tensorflow\python\framework\ops.py", line 3838, in _as_graph_element_locked "graph." % (repr(name), repr(op_name))) KeyError: "The name 'image_tensor:0' refers to a Tensor which does not exist. The operation, 'image_tensor', does not exist in the graph."

Import Error for module object_detection.proto

Where Can I GET The Module object_detection.protos
It gives me an error

Traceback (most recent call last):
File "VehicleMoniter.py", line 40, in
from utils import label_map_util
File "/home/user/Desktop/IMP/Traffic-Rule-Violation-Detection-System-master/utils/label_map_util.py", line 22, in
from object_detection.protos import string_int_label_map_pb2
ModuleNotFoundError: No module named 'object_detection'

Question :

Hello Sir,
Did you publish any research paper on this project. If yes, please drop a link to access that paper. It will be helpful in order to understand the project. Or any material which is related to this project which can help in understanding the project better.

Exception

Exception:
(402)
Reason: Payment Required
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Sun, 01 Mar 2020 06:57:27 GMT', 'Server': 'nginx/1.10.3', 'Content-Length': '74', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 402, "error": "Monthly Usage (50) exceeded for this month"}

name 'detection_' is not defined

At the end of VehicleMonitor.py file , line 417.

with detection_.as_default():
NameError: name 'detection_' is not defined

Please help me solve this error. I have solved all the previous error and stuck at the end. GUI is opening but nothing is happening only I am able to see the title .
Thank you.

ImportError: cannot import name 'string_int_label_map_pb2'

Traceback (most recent call last): File "VehicleMoniter.py", line 40, in <module> from utils import label_map_util File "/Users/ferdinakusumah/Development/API/machine-kearning/license-plate-recognition/vehicle_detection/utils/label_map_util.py", line 22, in <module> from object_detection.protos import string_int_label_map_pb2 ImportError: cannot import name 'string_int_label_map_pb2'
Is any wrong in my configuration?
Im sorry my english not good enough

Description How to use it

Hello Ambesh,Actually I have cloned your github and still confuse to use your program ..

can you complete the issue about description,,pleasee

best regard

Dahlan

ModuleNotFoundError: No module named 'object_detection'

Hi sir thank u very much for this project , i have this issue when i run VehicleMoniter.py !! any help please

(tensorflow_cpu) C:\Users\zakaria\Desktop\Traffic-Rule-Violation-Detection-System-master>python VehicleMoniter.py
Traceback (most recent call last):
  File "VehicleMoniter.py", line 42, in <module>
    from utils import visualization_utils as vis_util
  File "C:\Users\zakaria\Desktop\Traffic-Rule-Violation-Detection-System-master\utils\visualization_utils.py", line 35, in <module>
    from object_detection.core import standard_fields as fields
ModuleNotFoundError: No module named 'object_detection'

Error

Hi,

I got the following error while running the code. please help to sort out

Traceback (most recent call last):
File "VehicleMoniter.py", line 251, in
imgF=Image.fromarray(imgF)
File "/home/user/.local/lib/python3.5/site-packages/PIL/Image.py", line 2416, in fromarray
arr = obj.array_interface
AttributeError: 'NoneType' object has no attribute 'array_interface'

Question

Can this project run on Linux 64-bit OS after installing all the dependencies

tensorflow error

File "VehicleMoniter.py", line 32, in
raise ImportError('Please upgrade your tensorflow installation to v1.4.* or later!')
ImportError: Please upgrade your tensorflow installation to v1.4.* or later!

Real time streaming

Hi Shrey,
Great outcome well done. I have a question. Do you think your model would work with real time streaming as well? Say if we use a real time streaming youtube camera or similar.
ozgur

Error

How can i contact you sir?

Performance issue in the definition of testResizeToRangeWithDynamicSpatialShape, core/preprocessor_test.py(P1)

Hello, I found a performance issue in the definition of testResizeToRangeWithDynamicSpatialShape, core/preprocessor_test.py, tf.shape(out_image) will be created repeatedly during program execution, resulting in reduced efficiency. I think out_image_shape and in_image should be created before the loop.

Looking forward to your reply. Btw, I am very glad to create a PR to fix it if you are too busy.

openalpr error

2020-05-12 12:06:19,708 WARNING Connection pool is full, discarding connection: api.openalpr.com
Exception:
(504)
Reason: GATEWAY_TIMEOUT

Detection and exclusion of zones

Hi, I recently started researching all this tensorflow stuff and I'm very excited about it.

I would like to ask you how I could modify the detection lines of the program to adjust them to other video perspectives and how can I exclude zones from detection?

Thank you!

Licence plate

Project is running but too slow and licence plate is not showing or i say detecting. What's causing this problem?

HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

i successfully run the code ,, but i found this msgs , any solution please !

41.63451437034429
Exception:
 (401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Tue, 03 Sep 2019 15:09:08 GMT', 'Server': 'nginx/1.10.3', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

16.48913217325019
12.055608716449056
Exception:
 (401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Tue, 03 Sep 2019 15:09:34 GMT', 'Server': 'nginx/1.10.3', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

2019-09-03 17:09:33,885 WARNING Connection pool is full, discarding connection: api.openalpr.com
Exception:
 (401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Tue, 03 Sep 2019 15:09:35 GMT', 'Server': 'nginx/1.10.3', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

#No module name 'openalpr-api'

I am working on this project
installed all the needed packages for the project but when i try to run the project in pycharm i am getting the following error...

File "VehicleMoniter.py", line 21, in
import openalpr_api
ModuleNotFoundError: No module named 'openalpr_api'

I also installed openalpr in pycharm.
I don't know the issue. Please clarify me.

No module named 'object_detection'

Hello,

I've downloaded your project, but I can't run it. I'm getting error:

Traceback (most recent call last):
  File "VehicleMoniter.py", line 40, in <module>
    from utils import label_map_util
  File "/home/asmox/AppDev/testing/Traffic-Rule-Violation-Detection-System/utils/label_map_util.py", line 22, in <module>
    from object_detection.protos import string_int_label_map_pb2
ModuleNotFoundError: No module named 'object_detection'

I suppose I need to install additional packages, or use BUILD file provided, but there is no mention in your README file. Can you please update your installation tutorial? I'm not able to use your library now

I am getting an unauthorised exception and the licence plate is not getting detected

Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:35:15 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

3.641040683080667e-08
2022-03-21 22:05:16,409 WARNING Connection pool is full, discarding connection: api.openalpr.com
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:35:16 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

2022-03-21 22:05:17,320 WARNING Connection pool is full, discarding connection: api.openalpr.com
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:35:17 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

2022-03-21 22:05:17,351 WARNING Connection pool is full, discarding connection: api.openalpr.com
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:35:17 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

3.6410406746459514e-08
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:35:20 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

77.80196624002969
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:35:21 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

2022-03-21 22:05:23,232 WARNING Connection pool is full, discarding connection: api.openalpr.com
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:35:23 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

80.30631876591754
79.62865436568433
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:35:26 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

2022-03-21 22:05:27,729 WARNING Connection pool is full, discarding connection: api.openalpr.com
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:35:27 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

2022-03-21 22:05:28,220 WARNING Connection pool is full, discarding connection: api.openalpr.com
2022-03-21 22:05:28,221 WARNING Connection pool is full, discarding connection: api.openalpr.com
Exception:
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:35:28 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '
', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:35:28 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

121.71143943669738
95.20489472949492
3.6410406561241526e-08
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:35:28 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

53.903752662167015
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:35:30 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

2022-03-21 22:05:30,450 WARNING Connection pool is full, discarding connection: api.openalpr.com
2022-03-21 22:05:30,451 WARNING Connection pool is full, discarding connection: api.openalpr.com
Exception:
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:35:30 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '
', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:35:30 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

2022-03-21 22:05:31,023 WARNING Connection pool is full, discarding connection: api.openalpr.com
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:35:30 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

236.47045226253422
117.79717829644598
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:35:31 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

2022-03-21 22:05:33,269 WARNING Connection pool is full, discarding connection: api.openalpr.com
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:35:33 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

2022-03-21 22:05:33,752 WARNING Connection pool is full, discarding connection: api.openalpr.com
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:35:33 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

2022-03-21 22:05:33,786 WARNING Connection pool is full, discarding connection: api.openalpr.com
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:35:33 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

258.5838923898781
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:35:35 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

56.042789322978955
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:35:37 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

85.0358784579224
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:35:38 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

2022-03-21 22:05:38,821 WARNING Connection pool is full, discarding connection: api.openalpr.com
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:35:38 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

2022-03-21 22:05:40,075 WARNING Connection pool is full, discarding connection: api.openalpr.com
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:35:39 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

85.14561063627217
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:35:43 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

2022-03-21 22:05:44,374 WARNING Connection pool is full, discarding connection: api.openalpr.com
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:35:44 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

126.42712027891929
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:35:46 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

2022-03-21 22:05:46,752 WARNING Connection pool is full, discarding connection: api.openalpr.com
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:35:46 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

2022-03-21 22:05:47,550 WARNING Connection pool is full, discarding connection: api.openalpr.com
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:35:47 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

87.72039703464921
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:35:53 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

2022-03-21 22:05:55,030 WARNING Connection pool is full, discarding connection: api.openalpr.com
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:35:54 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

3.6410405903988746e-08
130.1171300198026
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:36:03 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

2022-03-21 22:06:04,922 WARNING Connection pool is full, discarding connection: api.openalpr.com
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:36:04 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

119.1348719762202
73.16656805808941
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:36:06 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

2022-03-21 22:06:08,002 WARNING Connection pool is full, discarding connection: api.openalpr.com
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:36:07 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

3.64104056879749e-08
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:36:08 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

2022-03-21 22:06:08,802 WARNING Connection pool is full, discarding connection: api.openalpr.com
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:36:08 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

2022-03-21 22:06:08,833 WARNING Connection pool is full, discarding connection: api.openalpr.com
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:36:08 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

126.27379316262217
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:36:11 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

2022-03-21 22:06:12,650 WARNING Connection pool is full, discarding connection: api.openalpr.com
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:36:12 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

107.19475838415316
73.11589004822615
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:36:15 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

2022-03-21 22:06:17,413 WARNING Connection pool is full, discarding connection: api.openalpr.com
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:36:17 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

2022-03-21 22:06:17,833 WARNING Connection pool is full, discarding connection: api.openalpr.com
2022-03-21 22:06:17,834 WARNING Connection pool is full, discarding connection: api.openalpr.com
Exception:
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:36:17 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '
', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:36:17 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

86.4123449032464
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:36:21 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

2022-03-21 22:06:22,572 WARNING Connection pool is full, discarding connection: api.openalpr.com
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:36:22 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

3.641040531978305e-08
3.641040518856155e-08
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:36:31 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

10.40191880081232
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:37:59 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

38.307084744400484
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:38:02 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

24.094235294692098
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:38:03 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

3.448005269239976
3.641040311238533e-08
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:38:05 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

2022-03-21 22:08:06,717 WARNING Connection pool is full, discarding connection: api.openalpr.com
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:38:06 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

106.70768901991995
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:38:09 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

2022-03-21 22:08:10,982 WARNING Connection pool is full, discarding connection: api.openalpr.com
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:38:10 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

10.028928915972243
200.65975948727188
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:38:13 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

20.889608364003347
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:38:14 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

27.733768507262393
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:38:15 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

2022-03-21 22:08:15,350 WARNING Connection pool is full, discarding connection: api.openalpr.com
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:38:15 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

2022-03-21 22:08:15,978 WARNING Connection pool is full, discarding connection: api.openalpr.com
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:38:15 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

46.56305761899511
48.07531023463384
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:38:18 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

29.245820709755918
3.6410402750406237e-08
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:38:21 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

2022-03-21 22:08:21,627 WARNING Connection pool is full, discarding connection: api.openalpr.com
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:38:21 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

59.184709984426455
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:38:25 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

38.407472156829826
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:38:26 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

42.113698745215196
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:38:31 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

80.4909965939974
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:38:33 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

2022-03-21 22:08:35,384 WARNING Connection pool is full, discarding connection: api.openalpr.com
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:38:35 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

48.45897046978341
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:38:37 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

76.11471668347295
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:38:39 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

98.77759225285608
3.6410402319761266e-08
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:38:40 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

2022-03-21 22:08:40,849 WARNING Connection pool is full, discarding connection: api.openalpr.com
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:38:40 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

2022-03-21 22:08:41,839 WARNING Connection pool is full, discarding connection: api.openalpr.com
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Mon, 21 Mar 2022 16:38:41 GMT', 'Server': 'nginx/1.16.1', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\DELL\anaconda3\envs\FinalProject\lib\tkinter_init_.py", line 1705, in call
return self.func(*args)
File "C:\Users\DELL\anaconda3\envs\FinalProject\lib\tkinter_init_.py", line 749, in callit
func(*args)
File "VehicleMoniter.py", line 330, in main
feed_dict={image_tensor: image_np_expanded})
File "C:\Users\DELL\anaconda3\envs\FinalProject\lib\site-packages\tensorflow\python\client\session.py", line 968, in run
run_metadata_ptr)
File "C:\Users\DELL\anaconda3\envs\FinalProject\lib\site-packages\tensorflow\python\client\session.py", line 1160, in _run
np_val = np.asarray(subfeed_val, dtype=subfeed_dtype)
File "C:\Users\DELL\anaconda3\envs\FinalProject\lib\site-packages\numpy\core_asarray.py", line 83, in asarray
return array(a, dtype, copy=False, order=order)
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'[

How can I run offline openalpr

Hi Shrey Ambesh,

Thanks for your contribution.
In your code, you use openalpr_api and connect to online server with secret key.
How can I modify your code to run offline?

Many thanks

No module named Openalpr_api

Hello Sir,
I am using anaconda to run the project. I have installed openalpr in anaconda using " pip install openalpr". Are openalpr and openalpr api are different. How can I install openalpr_api in anaconda.
openalpr

Issue

Can we run the project in Ubuntu using Anaconda?

License Plate Number

I am unable to see the extracted License Plate Number. Also, I am running it on TensorFlow-CPU.

Exception: (401) Reason: Unauthorized HTTP response headers:

40.06525495330597
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Fri, 21 Feb 2020 15:58:06 GMT', 'Server': 'nginx/1.10.3', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

45.95841105434803
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Fri, 21 Feb 2020 15:58:07 GMT', 'Server': 'nginx/1.10.3', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

3.791946779176099e-08
3.791946763836186e-08
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Fri, 21 Feb 2020 15:58:15 GMT', 'Server': 'nginx/1.10.3', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

45.05635933619914
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Fri, 21 Feb 2020 15:58:17 GMT', 'Server': 'nginx/1.10.3', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

43.7427250660291
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Fri, 21 Feb 2020 15:58:25 GMT', 'Server': 'nginx/1.10.3', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

43.61580800729858
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Fri, 21 Feb 2020 15:58:26 GMT', 'Server': 'nginx/1.10.3', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

67.87657521632674
57.485815185672074
3.791946729174035e-08
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Fri, 21 Feb 2020 15:58:29 GMT', 'Server': 'nginx/1.10.3', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

2020-02-21 21:28:31,198 WARNING Connection pool is full, discarding connection: api.openalpr.com
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Fri, 21 Feb 2020 15:58:30 GMT', 'Server': 'nginx/1.10.3', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.