From de5e45d7c41a74d4111e5fd68234bf97b062015e Mon Sep 17 00:00:00 2001 From: Vadim Pisarevsky Date: Tue, 12 Oct 2010 21:42:24 +0000 Subject: [PATCH] fixed some more build problems after renaming the headers --- modules/objdetect/src/_lsvm_resizeimg.h | 3 +-- modules/objdetect/src/_lsvm_types.h | 4 ---- modules/objdetect/src/_lsvmparser.h | 3 +-- modules/objdetect/src/lsvmparser.cpp | 1 + 4 files changed, 3 insertions(+), 8 deletions(-) diff --git a/modules/objdetect/src/_lsvm_resizeimg.h b/modules/objdetect/src/_lsvm_resizeimg.h index 644f515100..f0ac6c756c 100644 --- a/modules/objdetect/src/_lsvm_resizeimg.h +++ b/modules/objdetect/src/_lsvm_resizeimg.h @@ -1,8 +1,7 @@ #ifndef RESIZEIMG #define RESIZEIMG -#include "precomp.hpp" -#include "_types.h" +#include "_lsvm_types.h" IplImage * resize_opencv (IplImage * img, float scale); IplImage * resize_article_dp1(IplImage * img, float scale, const int k); diff --git a/modules/objdetect/src/_lsvm_types.h b/modules/objdetect/src/_lsvm_types.h index a34a04bbfb..5479f45149 100644 --- a/modules/objdetect/src/_lsvm_types.h +++ b/modules/objdetect/src/_lsvm_types.h @@ -1,10 +1,6 @@ #ifndef SVM_TYPE #define SVM_TYPE -//#include "opencv2/core/core.hpp" -//#include "opencv2/highgui/highgui.hpp" -#include "precomp.hpp" - //#define FFT_CONV // Значение числа PI diff --git a/modules/objdetect/src/_lsvmparser.h b/modules/objdetect/src/_lsvmparser.h index 39c5c540cd..58804b7808 100644 --- a/modules/objdetect/src/_lsvmparser.h +++ b/modules/objdetect/src/_lsvmparser.h @@ -1,8 +1,7 @@ #ifndef LSVM_PARSER #define LSVM_PARSER -#include "precomp.hpp" -#include "_types.h" +#include "_lsvm_types.h" #define MODEL 1 #define P 2 diff --git a/modules/objdetect/src/lsvmparser.cpp b/modules/objdetect/src/lsvmparser.cpp index 0b0d8cffbb..72b9dcb5c8 100644 --- a/modules/objdetect/src/lsvmparser.cpp +++ b/modules/objdetect/src/lsvmparser.cpp @@ -1,3 +1,4 @@ +#include "precomp.hpp" #include #include "string.h" #include "_lsvmparser.h"