diff --git a/modules/contrib/src/featuretracker.cpp b/modules/contrib/src/featuretracker.cpp index e7288bfd1d..63004c7ad7 100644 --- a/modules/contrib/src/featuretracker.cpp +++ b/modules/contrib/src/featuretracker.cpp @@ -91,7 +91,7 @@ Rect CvFeatureTracker::updateTrackingWindow(Mat image) if(params.feature_type == CvFeatureTrackerParams::OPTICAL_FLOW) return updateTrackingWindowWithFlow(image); else - updateTrackingWindowWithSIFT(image); + return updateTrackingWindowWithSIFT(image); } Rect CvFeatureTracker::updateTrackingWindowWithSIFT(Mat image)