mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
Fixed unused tracking for OpenCV 2.x
This commit is contained in:
@ -8,11 +8,6 @@
|
||||
#include <opencv2/opencv.hpp> // C++
|
||||
#include "opencv2/highgui/highgui_c.h" // C
|
||||
#include "opencv2/imgproc/imgproc_c.h" // C
|
||||
|
||||
#include <opencv2/cudaoptflow.hpp>
|
||||
#include <opencv2/cudaimgproc.hpp>
|
||||
#include <opencv2/cudaarithm.hpp>
|
||||
#include <opencv2/core/cuda.hpp>
|
||||
#endif // OPENCV
|
||||
|
||||
#ifdef YOLODLL_EXPORTS
|
||||
@ -149,6 +144,11 @@ private:
|
||||
|
||||
#if defined(TRACK_OPTFLOW) && defined(OPENCV)
|
||||
|
||||
#include <opencv2/cudaoptflow.hpp>
|
||||
#include <opencv2/cudaimgproc.hpp>
|
||||
#include <opencv2/cudaarithm.hpp>
|
||||
#include <opencv2/core/cuda.hpp>
|
||||
|
||||
class Tracker_optflow {
|
||||
public:
|
||||
const int gpu_count;
|
||||
|
Reference in New Issue
Block a user