fixed some more hybrid tracker build problems on Windows
This commit is contained in:
parent
1bae6413c1
commit
714732e9bb
@ -134,7 +134,7 @@ public:
|
|||||||
CvMeanShiftTrackerParams params;
|
CvMeanShiftTrackerParams params;
|
||||||
|
|
||||||
CvMeanShiftTracker();
|
CvMeanShiftTracker();
|
||||||
CvMeanShiftTracker(CvMeanShiftTrackerParams _params = CvMeanShiftTrackerParams());
|
explicit CvMeanShiftTracker(CvMeanShiftTrackerParams _params);
|
||||||
~CvMeanShiftTracker();
|
~CvMeanShiftTracker();
|
||||||
void newTrackingWindow(Mat image, Rect selection);
|
void newTrackingWindow(Mat image, Rect selection);
|
||||||
RotatedRect updateTrackingWindow(Mat image);
|
RotatedRect updateTrackingWindow(Mat image);
|
||||||
@ -167,7 +167,7 @@ public:
|
|||||||
CvFeatureTrackerParams params;
|
CvFeatureTrackerParams params;
|
||||||
|
|
||||||
CvFeatureTracker();
|
CvFeatureTracker();
|
||||||
CvFeatureTracker(CvFeatureTrackerParams params = CvFeatureTrackerParams(0,0));
|
explicit CvFeatureTracker(CvFeatureTrackerParams params);
|
||||||
~CvFeatureTracker();
|
~CvFeatureTracker();
|
||||||
void newTrackingWindow(Mat image, Rect selection);
|
void newTrackingWindow(Mat image, Rect selection);
|
||||||
Rect updateTrackingWindow(Mat image);
|
Rect updateTrackingWindow(Mat image);
|
||||||
@ -206,7 +206,7 @@ private:
|
|||||||
public:
|
public:
|
||||||
CvHybridTrackerParams params;
|
CvHybridTrackerParams params;
|
||||||
CvHybridTracker();
|
CvHybridTracker();
|
||||||
CvHybridTracker(CvHybridTrackerParams params = CvHybridTrackerParams());
|
explicit CvHybridTracker(CvHybridTrackerParams params);
|
||||||
~CvHybridTracker();
|
~CvHybridTracker();
|
||||||
|
|
||||||
void newTracker(Mat image, Rect selection);
|
void newTracker(Mat image, Rect selection);
|
||||||
|
@ -197,6 +197,7 @@ Rect CvFeatureTracker::updateTrackingWindowWithFlow(Mat image)
|
|||||||
|
|
||||||
swap(features[0], features[1]);
|
swap(features[0], features[1]);
|
||||||
image.copyTo(prev_image);
|
image.copyTo(prev_image);
|
||||||
|
return prev_trackwindow;
|
||||||
}
|
}
|
||||||
|
|
||||||
void CvFeatureTracker::setTrackingWindow(Rect _window)
|
void CvFeatureTracker::setTrackingWindow(Rect _window)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user