Added OpenALPR Python bindings

This commit is contained in:
Matt Hill
2015-03-10 23:53:33 -04:00
parent b678e2547f
commit 524e11730a
5 changed files with 273 additions and 0 deletions

10
bindings/python/make.sh Executable file
View 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