Fix errors with opencv includes
This commit is contained in:
@@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#ifdef USE_OPENCV
|
#ifdef USE_OPENCV
|
||||||
#include <opencv2/core.hpp>
|
#include <opencv2/core/core.hpp>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "LibMemory.h"
|
#include "LibMemory.h"
|
||||||
|
|||||||
@@ -29,9 +29,7 @@
|
|||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
|
|
||||||
// Opencv
|
// Opencv
|
||||||
#include <opencv2/core.hpp>
|
// #include <opencv2/highgui/highgui.hpp>
|
||||||
#include <opencv2/highgui.hpp>
|
|
||||||
#include <opencv2/video.hpp>
|
|
||||||
#include <opencv2/optflow.hpp>
|
#include <opencv2/optflow.hpp>
|
||||||
|
|
||||||
using cv::Scalar;
|
using cv::Scalar;
|
||||||
|
|||||||
@@ -26,8 +26,8 @@
|
|||||||
#define __OPTICALFLOWDUALTVL1_H__
|
#define __OPTICALFLOWDUALTVL1_H__
|
||||||
|
|
||||||
// OpenCV
|
// OpenCV
|
||||||
#include <opencv2/core.hpp>
|
#include <opencv2/core/core.hpp>
|
||||||
#include <opencv2/video.hpp>
|
#include <opencv2/video/video.hpp>
|
||||||
|
|
||||||
// PlaYUVerLib
|
// PlaYUVerLib
|
||||||
#include "lib/PlaYUVerModuleIf.h"
|
#include "lib/PlaYUVerModuleIf.h"
|
||||||
|
|||||||
@@ -25,7 +25,8 @@
|
|||||||
#ifndef __OPTICALFLOWDUALTVL1_H__
|
#ifndef __OPTICALFLOWDUALTVL1_H__
|
||||||
#define __OPTICALFLOWDUALTVL1_H__
|
#define __OPTICALFLOWDUALTVL1_H__
|
||||||
|
|
||||||
#include <opencv2/opencv.hpp>
|
#include <opencv2/core/core.hpp>
|
||||||
|
#include <opencv2/video/video.hpp>
|
||||||
|
|
||||||
#include "lib/PlaYUVerModuleIf.h"
|
#include "lib/PlaYUVerModuleIf.h"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user