CvMeanShiftTrackerParams params;
CvMeanShiftTracker();
- CvMeanShiftTracker(CvMeanShiftTrackerParams _params = CvMeanShiftTrackerParams());
+ explicit CvMeanShiftTracker(CvMeanShiftTrackerParams _params);
~CvMeanShiftTracker();
void newTrackingWindow(Mat image, Rect selection);
RotatedRect updateTrackingWindow(Mat image);
CvFeatureTrackerParams params;
CvFeatureTracker();
- CvFeatureTracker(CvFeatureTrackerParams params = CvFeatureTrackerParams(0,0));
+ explicit CvFeatureTracker(CvFeatureTrackerParams params);
~CvFeatureTracker();
void newTrackingWindow(Mat image, Rect selection);
Rect updateTrackingWindow(Mat image);
public:
CvHybridTrackerParams params;
CvHybridTracker();
- CvHybridTracker(CvHybridTrackerParams params = CvHybridTrackerParams());
+ explicit CvHybridTracker(CvHybridTrackerParams params);
~CvHybridTracker();
void newTracker(Mat image, Rect selection);
swap(features[0], features[1]);
image.copyTo(prev_image);
+ return prev_trackwindow;
}
void CvFeatureTracker::setTrackingWindow(Rect _window)