mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-07 01:42:49 +08:00
Added OpenALPR Python bindings
This commit is contained in:
10
bindings/python/make.sh
Executable file
10
bindings/python/make.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
OPENALPR_INCLUDE_DIR=/storage/projects/alpr/src/openalpr/
|
||||
OPENALPR_LIB_DIR=/storage/projects/alpr/src/build/openalpr/
|
||||
|
||||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:.:${OPENALPR_LIB_DIR}
|
||||
|
||||
g++ -Wall -L${OPENALPR_LIB_DIR} -I${OPENALPR_INCLUDE_DIR} -shared -fPIC -o libopenalprpy.so openalprpy.cpp -lopenalpr
|
||||
|
||||
python test.py
|
Reference in New Issue
Block a user