diff --git a/modules/cudafeatures2d/include/opencv2/cudafeatures2d.hpp b/modules/cudafeatures2d/include/opencv2/cudafeatures2d.hpp index d9cff6de8..da9974e24 100644 --- a/modules/cudafeatures2d/include/opencv2/cudafeatures2d.hpp +++ b/modules/cudafeatures2d/include/opencv2/cudafeatures2d.hpp @@ -280,7 +280,7 @@ public: the matches vector does not contain matches for fully masked-out query descriptors. */ CV_WRAP virtual void knnMatchConvert(InputArray gpu_matches, - std::vector< std::vector >& matches, + CV_OUT std::vector< std::vector >& matches, bool compactResult = false) = 0; // @@ -364,7 +364,7 @@ public: the matches vector does not contain matches for fully masked-out query descriptors. */ CV_WRAP virtual void radiusMatchConvert(InputArray gpu_matches, - std::vector< std::vector >& matches, + CV_OUT std::vector< std::vector >& matches, bool compactResult = false) = 0; };