|
|
@ -8,11 +8,6 @@ |
|
|
|
#include <opencv2/opencv.hpp> // C++ |
|
|
|
#include <opencv2/opencv.hpp> // C++ |
|
|
|
#include "opencv2/highgui/highgui_c.h" // C |
|
|
|
#include "opencv2/highgui/highgui_c.h" // C |
|
|
|
#include "opencv2/imgproc/imgproc_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
|
|
|
|
#endif // OPENCV
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef YOLODLL_EXPORTS |
|
|
|
#ifdef YOLODLL_EXPORTS |
|
|
@ -149,6 +144,11 @@ private: |
|
|
|
|
|
|
|
|
|
|
|
#if defined(TRACK_OPTFLOW) && defined(OPENCV) |
|
|
|
#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 { |
|
|
|
class Tracker_optflow { |
|
|
|
public: |
|
|
|
public: |
|
|
|
const int gpu_count; |
|
|
|
const int gpu_count; |
|
|
|