1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-19 19:44:14 +08:00

tracking: adding a mosse tracker

This commit is contained in:
berak
2017-10-24 12:45:07 +02:00
parent 26fd198ef2
commit ea6f3d1928
6 changed files with 295 additions and 1 deletions

View File

@@ -19,6 +19,8 @@ inline cv::Ptr<cv::Tracker> createTrackerByName(cv::String name)
tracker = cv::TrackerMIL::create();
else if (name == "GOTURN")
tracker = cv::TrackerGOTURN::create();
else if (name == "MOSSE")
tracker = cv::TrackerMOSSE::create();
else
CV_Error(cv::Error::StsBadArg, "Invalid tracking algorithm name\n");