From ea8d40429c74a508dc1d41e8fb82d6041c6e817e Mon Sep 17 00:00:00 2001 From: liuruoze Date: Wed, 22 Jun 2016 13:44:32 +0800 Subject: [PATCH] remove files in thirdparty lib to their separate folder, make the folders more clear. --- src/core/feature.cpp | 2 +- src/core/plate_recognize.cpp | 2 +- thirdparty/CMakeLists.txt | 6 +++--- thirdparty/{ => LBP}/helper.cpp | 0 thirdparty/{ => LBP}/helper.hpp | 0 thirdparty/{ => LBP}/lbp.cpp | 0 thirdparty/{ => LBP}/lbp.hpp | 0 thirdparty/{ => textDetect}/erfilter.cpp | 0 thirdparty/{ => textDetect}/erfilter.hpp | 0 vcprojs/libeasypr.vcxproj | 12 ++++++------ vcprojs/libeasypr.vcxproj.filters | 12 ++++++------ 11 files changed, 17 insertions(+), 17 deletions(-) rename thirdparty/{ => LBP}/helper.cpp (100%) rename thirdparty/{ => LBP}/helper.hpp (100%) rename thirdparty/{ => LBP}/lbp.cpp (100%) rename thirdparty/{ => LBP}/lbp.hpp (100%) rename thirdparty/{ => textDetect}/erfilter.cpp (100%) rename thirdparty/{ => textDetect}/erfilter.hpp (100%) diff --git a/src/core/feature.cpp b/src/core/feature.cpp index 3774ef1..076aedf 100644 --- a/src/core/feature.cpp +++ b/src/core/feature.cpp @@ -4,7 +4,7 @@ #include "easypr/core/feature.h" #include "easypr/core/core_func.h" -#include "thirdparty/lbp.hpp" +#include "thirdparty/LBP/lbp.hpp" namespace easypr { diff --git a/src/core/plate_recognize.cpp b/src/core/plate_recognize.cpp index 755ebba..7019f5c 100644 --- a/src/core/plate_recognize.cpp +++ b/src/core/plate_recognize.cpp @@ -1,6 +1,6 @@ #include "easypr/core/plate_recognize.h" #include "easypr/config.h" -#include "thirdparty/erfilter.hpp" +#include "thirdparty/textDetect/erfilter.hpp" namespace easypr { diff --git a/thirdparty/CMakeLists.txt b/thirdparty/CMakeLists.txt index 3e5d503..0769014 100644 --- a/thirdparty/CMakeLists.txt +++ b/thirdparty/CMakeLists.txt @@ -10,9 +10,9 @@ include_directories(${OpenCV_INCLUDE_DIRS}) # sources to be compiled set(SOURCE_FILES xmlParser/xmlParser.cpp - erfilter.cpp - helper.cpp - lbp.cpp + textDetect/erfilter.cpp + LBP/helper.cpp + LBP/lbp.cpp ) # pack objects to static library diff --git a/thirdparty/helper.cpp b/thirdparty/LBP/helper.cpp similarity index 100% rename from thirdparty/helper.cpp rename to thirdparty/LBP/helper.cpp diff --git a/thirdparty/helper.hpp b/thirdparty/LBP/helper.hpp similarity index 100% rename from thirdparty/helper.hpp rename to thirdparty/LBP/helper.hpp diff --git a/thirdparty/lbp.cpp b/thirdparty/LBP/lbp.cpp similarity index 100% rename from thirdparty/lbp.cpp rename to thirdparty/LBP/lbp.cpp diff --git a/thirdparty/lbp.hpp b/thirdparty/LBP/lbp.hpp similarity index 100% rename from thirdparty/lbp.hpp rename to thirdparty/LBP/lbp.hpp diff --git a/thirdparty/erfilter.cpp b/thirdparty/textDetect/erfilter.cpp similarity index 100% rename from thirdparty/erfilter.cpp rename to thirdparty/textDetect/erfilter.cpp diff --git a/thirdparty/erfilter.hpp b/thirdparty/textDetect/erfilter.hpp similarity index 100% rename from thirdparty/erfilter.hpp rename to thirdparty/textDetect/erfilter.hpp diff --git a/vcprojs/libeasypr.vcxproj b/vcprojs/libeasypr.vcxproj index 4508683..26a0267 100644 --- a/vcprojs/libeasypr.vcxproj +++ b/vcprojs/libeasypr.vcxproj @@ -164,9 +164,9 @@ - - - + + + @@ -192,9 +192,9 @@ - - - + + + diff --git a/vcprojs/libeasypr.vcxproj.filters b/vcprojs/libeasypr.vcxproj.filters index 8ca9f0c..f927343 100644 --- a/vcprojs/libeasypr.vcxproj.filters +++ b/vcprojs/libeasypr.vcxproj.filters @@ -111,13 +111,13 @@ 源文件\core - + 源文件\thirdparty - + 源文件\thirdparty - + 源文件\thirdparty @@ -191,13 +191,13 @@ 头文件\easypr\core - + 头文件\thirdparty - + 头文件\thirdparty - + 头文件\thirdparty