diff --git a/README.md b/README.md index 2ec3953..d6b54f0 100644 --- a/README.md +++ b/README.md @@ -76,3 +76,11 @@ When building or developing the script, make sure to set the ``LD_LIBRARY_PATH`` ```bash export LD_LIBRARY_PATH=libs:$LD_LIBRARY_PATH ``` + +### Error handling +#### GLIBC_ABI_DT_RELR not found +If you encounter an error like this: +```bash +/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_ABI_DT_RELR' not found +``` +Then make sure your GLIBC version is >= 2.36 diff --git a/alpr_api.py b/alpr_api.py index 3ab80eb..f35ec69 100644 --- a/alpr_api.py +++ b/alpr_api.py @@ -38,7 +38,7 @@ JSON_CONFIG = { "car_noplate_detect_min_score": 0.8, - "pyramidal_search_enabled": True, + "pyramidal_search_enabled": False, "pyramidal_search_sensitivity": 0.38, # default 0.28 "pyramidal_search_minscore": 0.8, "pyramidal_search_min_image_size_inpixels": 800, @@ -61,8 +61,8 @@ def load_engine(): "charset": "latin", "car_noplate_detect_enabled": False, "ienv_enabled": False, - "openvino_enabled": False, - "openvino_device": "GPU", + "openvino_enabled": True, + "openvino_device": "CPU", "npu_enabled": False, "klass_lpci_enabled": False, "klass_vcr_enabled": False, diff --git a/build_alpr_api.sh b/build_alpr_api.sh index 478d9dd..c262c89 100755 --- a/build_alpr_api.sh +++ b/build_alpr_api.sh @@ -1 +1 @@ -pyinstaller --noconfirm --onefile --console --add-data libs:. --add-data assets:assets --add-data static:static --add-data templates:templates --name easy-local-alpr-1.0.0-linux_x86_64 "alpr_api.py" \ No newline at end of file +pyinstaller --noconfirm --onefile --console --add-data libs:. --add-data assets:assets --add-data static:static --add-data templates:templates --add-binary plugins.xml:. --name easy-local-alpr-1.0.0-linux_x86_64 "alpr_api.py" diff --git a/plugins.xml b/plugins.xml new file mode 100644 index 0000000..1e8a563 --- /dev/null +++ b/plugins.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file