Skip to content

Commit

Permalink
Fixed nano tracker version
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuzhny007 committed Feb 8, 2024
1 parent 0108b84 commit 38f1e76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tracker/track.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 38f1e76

Please sign in to comment.