我正在使用 python 设置识别板,但我无法使用库“OpenALPR”,因为向我发送错误
OpenalPR 加载错误
尝试:
if platform.system().lower().find("windows") != -1:
self._openalprpy_lib = ctypes.cdll.LoadLibrary("libopenalprpy.dll")
elif platform.system().lower().find("darwin") != -1:
self._openalprpy_lib = ctypes.cdll.LoadLibrary("libopenalprpy.dylib")
else:
self._openalprpy_lib = ctypes.cdll.LoadLibrary("libopenalprpy.so")
except OSError as e:
nex = OSError("Unable to locate the OpenALPR library. Please make sure that OpenALPR is properly "
"installed on your system and that the libraries are in the appropriate paths.")
if _PYTHON_3:
nex.__cause__ = e;
raise nex
finally:
mutex.release()