Skip to content

Commit

Permalink
corrected included to avoid using obsolete opencv headers
Browse files Browse the repository at this point in the history
  • Loading branch information
Juan Cardelino committed Jun 7, 2016
1 parent b83a8bc commit 6fbdaee
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions libflandmark/flandmark_detector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
6 changes: 4 additions & 2 deletions libflandmark/flandmark_detector.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@
#define __FLANDMARK_DETECTOR_H_

#include "msvc-compat.h"
#include <cv.h>
#include <cvaux.h>
//#include <cv.h>
#include "opencv2/core/core_c.h"
#include "opencv2/imgproc/types_c.h"
//#include <cvaux.h>

// index row-order matrices
#define INDEX(ROW, COL, NUM_ROWS) ((COL)*(NUM_ROWS)+(ROW))
Expand Down

0 comments on commit 6fbdaee

Please sign in to comment.