From 38f1e762dcbb32e946c90852818f0e6e1a2cb29f Mon Sep 17 00:00:00 2001 From: snuzhny Date: Thu, 8 Feb 2024 21:33:20 +0300 Subject: [PATCH] Fixed nano tracker version --- src/Tracker/track.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tracker/track.cpp b/src/Tracker/track.cpp index 8a2ea5a0..baa749ab 100644 --- a/src/Tracker/track.cpp +++ b/src/Tracker/track.cpp @@ -1149,7 +1149,7 @@ void CTrack::CreateExternalTracker(int channels) #ifdef USE_OCV_KCF if (!m_tracker || m_tracker.empty()) { -#if (((CV_VERSION_MAJOR == 4) && (CV_VERSION_MINOR > 5)) || ((CV_VERSION_MAJOR == 4) && (CV_VERSION_MINOR == 5) && (CV_VERSION_REVISION > 2)) || (CV_VERSION_MAJOR > 4)) +#if (((CV_VERSION_MAJOR == 4) && (CV_VERSION_MINOR > 6)) || (CV_VERSION_MAJOR > 4)) cv::TrackerNano::Params params; params.backbone = "nanotrack_backbone_sim.onnx"; params.neckhead = "nanotrack_head_sim.onnx";