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))