diff --git a/components/operators/src/detectandtrack.cpp b/components/operators/src/detectandtrack.cpp index fe589308290a0eed26e6b23c98d880bf00e15341..313c0a26e9302dd311fd71acd266bd5be8e8f827 100644 --- a/components/operators/src/detectandtrack.cpp +++ b/components/operators/src/detectandtrack.cpp @@ -107,8 +107,8 @@ bool DetectAndTrack::detect(const Mat &im) { } if (!found && (tracked_.size() < max_tracked_)) { - //cv::Ptr<cv::Tracker> tracker = cv::TrackerCSRT::create(); - cv::Ptr<cv::Tracker> tracker = cv::TrackerKCF::create(); + cv::Ptr<cv::Tracker> tracker = cv::TrackerCSRT::create(); + //cv::Ptr<cv::Tracker> tracker = cv::TrackerKCF::create(); tracker->init(im, obj); tracked_.push_back({ id_max_++, obj, tracker, 0 }); }