Skip to content
This repository was archived by the owner on Oct 18, 2023. It is now read-only.

Commit c26e3e7

Browse files
committed
fix 3.4.0 TrackerCSRT
1 parent 2dc4988 commit c26e3e7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

cc/modules/tracking/tracking.cc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717

1818
#if CV_MINOR_VERSION > 3
1919
#include "./Trackers/TrackerMOSSE.h"
20+
#endif
21+
#if CV_MINOR_VERSION > 4 || (CV_MINOR_VERSION == 4 && CV_SUBMINOR_VERSION > 3)
2022
#include "./Trackers/TrackerCSRT.h"
2123
#endif
2224

@@ -42,9 +44,11 @@ NAN_MODULE_INIT(Tracking::Init) {
4244

4345
#if CV_MINOR_VERSION > 3
4446
TrackerMOSSE::Init(target);
47+
#endif
48+
#if CV_MINOR_VERSION > 4 || (CV_MINOR_VERSION == 4 && CV_SUBMINOR_VERSION > 3)
4549
TrackerCSRT::Init(target);
4650
#endif
4751

4852
};
4953

50-
#endif
54+
#endif

0 commit comments

Comments
 (0)