Merge branch 'master' of https://github.com/Micooz/EasyPR
# Conflicts: # src/core/plate_recognize.cppv1.6alpha
commit
9fc21b47f7
Binary file not shown.
Binary file not shown.
@ -1,9 +1,24 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
build_tmp="_build/"
|
||||
__dirname=`dirname $0`
|
||||
BUILD_TMP_PATH=${__dirname}/_build
|
||||
|
||||
mkdir ${build_tmp} 2>/dev/null
|
||||
cd ${build_tmp}
|
||||
# cleanup
|
||||
rm -r bin/* 2>/dev/null
|
||||
|
||||
cmake --clean-first ..
|
||||
make -j 4 --makefile Makefile
|
||||
# create tmp dir for cmake
|
||||
mkdir -p ${BUILD_TMP_PATH}
|
||||
|
||||
cd ${BUILD_TMP_PATH}
|
||||
|
||||
# Generate Makefile
|
||||
cmake --clean-first -DCMAKE_BUILD_TYPE=Release ..
|
||||
|
||||
# Compile
|
||||
if [ -f 'Makefile' ];then
|
||||
make --jobs 4
|
||||
fi
|
||||
|
||||
if [ $? -eq 0 ];then
|
||||
cp demo_*_amd64 ../bin
|
||||
fi
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,19 @@
|
||||
cmake_minimum_required(VERSION 2.8)
|
||||
project(thirdparty)
|
||||
|
||||
# OpenVC3 required
|
||||
find_package(OpenCV 3.1.0 REQUIRED)
|
||||
|
||||
# where to find header files
|
||||
include_directories(${OpenCV_INCLUDE_DIRS})
|
||||
|
||||
# sources to be compiled
|
||||
set(SOURCE_FILES
|
||||
xmlParser/xmlParser.cpp
|
||||
erfilter.cpp
|
||||
helper.cpp
|
||||
lbp.cpp
|
||||
)
|
||||
|
||||
# pack objects to static library
|
||||
add_library(thirdparty STATIC ${SOURCE_FILES})
|
@ -1,5 +1,5 @@
|
||||
#include "third/lbp.hpp"
|
||||
#include "third/helper.hpp"
|
||||
#include "lbp.hpp"
|
||||
#include "helper.hpp"
|
||||
|
||||
using namespace cv;
|
||||
|
Loading…
Reference in new issue