diff --git a/modules/features2d/doc/object_categorization.rst b/modules/features2d/doc/object_categorization.rst index 55fcdee3c3..480efe2513 100644 --- a/modules/features2d/doc/object_categorization.rst +++ b/modules/features2d/doc/object_categorization.rst @@ -181,13 +181,13 @@ BOWImgDescriptorExtractor::compute Computes an image descriptor using the set visual vocabulary. .. ocv:function:: void BOWImgDescriptorExtractor::compute( const Mat& image, vector& keypoints, Mat& imgDescriptor, vector >* pointIdxsOfClusters=0, Mat* descriptors=0 ) -.. ocv:function:: void BOWImgDescriptorExtractor::compute( const Mat& descriptors, Mat& imgDescriptor, std::vector >* pointIdxsOfClusters ) +.. ocv:function:: void BOWImgDescriptorExtractor::compute( const Mat& keypointDescriptors, Mat& imgDescriptor, std::vector >* pointIdxsOfClusters ) :param image: Image, for which the descriptor is computed. :param keypoints: Keypoints detected in the input image. - :param descriptors: Computed descriptors to match with vocabulary. + :param keypointDescriptors: Computed descriptors to match with vocabulary. :param imgDescriptor: Computed output image descriptor.