diff --git a/modules/java/generator/src/cpp/features2d_manual.hpp b/modules/java/generator/src/cpp/features2d_manual.hpp index 66053bce2..2457a5d47 100644 --- a/modules/java/generator/src/cpp/features2d_manual.hpp +++ b/modules/java/generator/src/cpp/features2d_manual.hpp @@ -261,8 +261,8 @@ class CV_EXPORTS_AS(DescriptorExtractor) javaDescriptorExtractor : public Descri public: #if 0 //DO NOT REMOVE! The block is required for sources parser - CV_WRAP void compute( const Mat& image, vector& keypoints, Mat& descriptors ) const; - CV_WRAP void compute( const vector& images, vector >& keypoints, CV_OUT vector& descriptors ) const; + CV_WRAP void compute( const Mat& image, CV_IN_OUT vector& keypoints, Mat& descriptors ) const; + CV_WRAP void compute( const vector& images, CV_IN_OUT vector >& keypoints, CV_OUT vector& descriptors ) const; CV_WRAP virtual int descriptorSize() const; CV_WRAP virtual int descriptorType() const;