mirror of
https://github.com/opencv/opencv_contrib.git
synced 2025-10-18 08:44:11 +08:00
Merge pull request #1552 from amuhic:master
Implementation of CSR-DCF tracker (#1552) * Initial commit for CSR-DCF tracker implementation * Fixes for automatic build * General code fixes * Removed unused parameters. Added CSRT to automatic tests. * Fixed VS build warnings. Fixed a bug with gray sequences. * Fixed VS build errors for samples file.
This commit is contained in:

committed by
Alexander Alekhin

parent
295dce52b1
commit
ced5aa7606
@@ -21,6 +21,8 @@ inline cv::Ptr<cv::Tracker> createTrackerByName(cv::String name)
|
||||
tracker = cv::TrackerGOTURN::create();
|
||||
else if (name == "MOSSE")
|
||||
tracker = cv::TrackerMOSSE::create();
|
||||
else if (name == "CSRT")
|
||||
tracker = cv::TrackerCSRT::create();
|
||||
else
|
||||
CV_Error(cv::Error::StsBadArg, "Invalid tracking algorithm name\n");
|
||||
|
||||
|
Reference in New Issue
Block a user