OpenShot Library | libopenshot  0.4.0
OpenCVUtilities.h
Go to the documentation of this file.
1 
10 // Copyright (c) 2008-2021 OpenShot Studios, LLC
11 //
12 // SPDX-License-Identifier: LGPL-3.0-or-later
13 
14 #ifndef OPENSHOT_OPENCV_UTILITIES_H
15 #define OPENSHOT_OPENCV_UTILITIES_H
16 
17 #define int64 int64_t
18 #define uint64 uint64_t
19 #if USE_LEGACY_TRACKER
20  #include <opencv2/tracking.hpp>
21  #include <opencv2/tracking/tracking_legacy.hpp>
22  #define OPENCV_TRACKER_TYPE cv::legacy::Tracker
23  #define OPENCV_TRACKER_NS cv::legacy
24 #else
25  #include <opencv2/tracking.hpp>
26  #define OPENCV_TRACKER_TYPE cv::Tracker
27  #define OPENCV_TRACKER_NS cv
28 #endif
29 #undef int64
30 #undef uint64
31 
32 #endif // OPENSHOT_OPENCV_UTILITIES_H