From 2e129b77284372af84e4c3b93575a7a7c45616e4 Mon Sep 17 00:00:00 2001 From: Hamdi Sahloul Date: Sat, 6 Jan 2018 19:03:30 +0900 Subject: [PATCH] `VGG::compute()` header is unnecessary and problematic for Python binder --- modules/xfeatures2d/include/opencv2/xfeatures2d.hpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/modules/xfeatures2d/include/opencv2/xfeatures2d.hpp b/modules/xfeatures2d/include/opencv2/xfeatures2d.hpp index 747922b3c..f8bb35ed5 100644 --- a/modules/xfeatures2d/include/opencv2/xfeatures2d.hpp +++ b/modules/xfeatures2d/include/opencv2/xfeatures2d.hpp @@ -311,13 +311,6 @@ public: CV_WRAP static Ptr create( int desc = VGG::VGG_120, float isigma = 1.4f, bool img_normalize = true, bool use_scale_orientation = true, float scale_factor = 6.25f, bool dsc_normalize = false ); - /** - * @param image image to extract descriptors - * @param keypoints of interest within image - * @param descriptors resulted descriptors array - */ - CV_WRAP virtual void compute( InputArray image, std::vector& keypoints, OutputArray descriptors ) = 0; - }; /** @brief Class implementing BoostDesc (Learning Image Descriptors with Boosting), described in