fixed openvino and made it default
This commit is contained in:
parent
645ae397b4
commit
1648f7b452
@ -76,3 +76,11 @@ When building or developing the script, make sure to set the ``LD_LIBRARY_PATH``
|
|||||||
```bash
|
```bash
|
||||||
export LD_LIBRARY_PATH=libs:$LD_LIBRARY_PATH
|
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
|
||||||
|
@ -38,7 +38,7 @@ JSON_CONFIG = {
|
|||||||
|
|
||||||
"car_noplate_detect_min_score": 0.8,
|
"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_sensitivity": 0.38, # default 0.28
|
||||||
"pyramidal_search_minscore": 0.8,
|
"pyramidal_search_minscore": 0.8,
|
||||||
"pyramidal_search_min_image_size_inpixels": 800,
|
"pyramidal_search_min_image_size_inpixels": 800,
|
||||||
@ -61,8 +61,8 @@ def load_engine():
|
|||||||
"charset": "latin",
|
"charset": "latin",
|
||||||
"car_noplate_detect_enabled": False,
|
"car_noplate_detect_enabled": False,
|
||||||
"ienv_enabled": False,
|
"ienv_enabled": False,
|
||||||
"openvino_enabled": False,
|
"openvino_enabled": True,
|
||||||
"openvino_device": "GPU",
|
"openvino_device": "CPU",
|
||||||
"npu_enabled": False,
|
"npu_enabled": False,
|
||||||
"klass_lpci_enabled": False,
|
"klass_lpci_enabled": False,
|
||||||
"klass_vcr_enabled": False,
|
"klass_vcr_enabled": False,
|
||||||
|
@ -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"
|
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"
|
||||||
|
20
plugins.xml
Normal file
20
plugins.xml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
<ie>
|
||||||
|
<plugins>
|
||||||
|
<plugin name="GNA" location="libGNAPlugin.so">
|
||||||
|
</plugin>
|
||||||
|
<plugin name="HETERO" location="libHeteroPlugin.so">
|
||||||
|
</plugin>
|
||||||
|
<plugin name="CPU" location="libMKLDNNPlugin.so">
|
||||||
|
</plugin>
|
||||||
|
<plugin name="MULTI" location="libMultiDevicePlugin.so">
|
||||||
|
</plugin>
|
||||||
|
<plugin name="GPU" location="libclDNNPlugin.so">
|
||||||
|
</plugin>
|
||||||
|
<plugin name="MYRIAD" location="libmyriadPlugin.so">
|
||||||
|
</plugin>
|
||||||
|
<plugin name="HDDL" location="libHDDLPlugin.so">
|
||||||
|
</plugin>
|
||||||
|
<plugin name="FPGA" location="libdliaPlugin.so">
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</ie>
|
Loading…
Reference in New Issue
Block a user