mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-05 16:36:53 +08:00
Renamed windows dll for Python binding
This commit is contained in:
@@ -45,7 +45,7 @@ class Alpr():
|
|||||||
try:
|
try:
|
||||||
# Load the .dll for Windows and the .so for Unix-based
|
# Load the .dll for Windows and the .so for Unix-based
|
||||||
if platform.system().lower().find("windows") != -1:
|
if platform.system().lower().find("windows") != -1:
|
||||||
self._openalprpy_lib = ctypes.cdll.LoadLibrary("openalprpy.dll")
|
self._openalprpy_lib = ctypes.cdll.LoadLibrary("libopenalprpy.dll")
|
||||||
elif platform.system().lower().find("darwin") != -1:
|
elif platform.system().lower().find("darwin") != -1:
|
||||||
self._openalprpy_lib = ctypes.cdll.LoadLibrary("libopenalprpy.dylib")
|
self._openalprpy_lib = ctypes.cdll.LoadLibrary("libopenalprpy.dylib")
|
||||||
else:
|
else:
|
||||||
|
Reference in New Issue
Block a user