From 6fbdaee67bbe22459dd699c20ba340ad48af8900 Mon Sep 17 00:00:00 2001 From: Juan Cardelino Date: Tue, 7 Jun 2016 14:44:20 -0300 Subject: [PATCH] corrected included to avoid using obsolete opencv headers --- libflandmark/flandmark_detector.cpp | 2 ++ libflandmark/flandmark_detector.h | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/libflandmark/flandmark_detector.cpp b/libflandmark/flandmark_detector.cpp index 24f0af6..9151fd2 100644 --- a/libflandmark/flandmark_detector.cpp +++ b/libflandmark/flandmark_detector.cpp @@ -16,6 +16,8 @@ #include "liblbp.h" #include "flandmark_detector.h" +#include "opencv2/imgproc/imgproc_c.h" + void flandmark_write_model(const char* filename, FLANDMARK_Model* model) { int * p_int = 0, tsize = -1, tmp_tsize = -1; diff --git a/libflandmark/flandmark_detector.h b/libflandmark/flandmark_detector.h index 9edf951..be17acb 100644 --- a/libflandmark/flandmark_detector.h +++ b/libflandmark/flandmark_detector.h @@ -12,8 +12,10 @@ #define __FLANDMARK_DETECTOR_H_ #include "msvc-compat.h" -#include -#include +//#include +#include "opencv2/core/core_c.h" +#include "opencv2/imgproc/types_c.h" +//#include // index row-order matrices #define INDEX(ROW, COL, NUM_ROWS) ((COL)*(NUM_ROWS)+(ROW))