From ca48e217f1be1f77efc0a8e684d42b7ac899053d Mon Sep 17 00:00:00 2001 From: Vadim Pisarevsky Date: Sat, 18 Feb 2023 00:07:45 +0300 Subject: [PATCH] fixed another SIFT constructor (#23272) --- modules/features2d/include/opencv2/features2d.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/features2d/include/opencv2/features2d.hpp b/modules/features2d/include/opencv2/features2d.hpp index b528f72f83..98ae85f353 100644 --- a/modules/features2d/include/opencv2/features2d.hpp +++ b/modules/features2d/include/opencv2/features2d.hpp @@ -320,11 +320,11 @@ public: @param enable_precise_upscale Whether to enable precise upscaling in the scale pyramid, which maps index \f$\texttt{x}\f$ to \f$\texttt{2x}\f$. This prevents localization bias. The option - to disable it (which is deprecated and issues a warning) is provided to keep the original behavior. + is disabled by default. */ CV_WRAP static Ptr create(int nfeatures, int nOctaveLayers, double contrastThreshold, double edgeThreshold, - double sigma, int descriptorType, bool enable_precise_upscale = true); + double sigma, int descriptorType, bool enable_precise_upscale = false); CV_WRAP virtual String getDefaultName() const CV_OVERRIDE; -- GitLab