Merge pull request #13419 from seanm:SemiWarnings

pull/13425/head
Alexander Alekhin 6 years ago
commit 82227b5ace
  1. 8
      modules/features2d/include/opencv2/features2d.hpp

@ -289,14 +289,14 @@ public:
/** @brief Set detection threshold. /** @brief Set detection threshold.
@param threshold AGAST detection threshold score. @param threshold AGAST detection threshold score.
*/ */
CV_WRAP virtual void setThreshold(int threshold) { CV_UNUSED(threshold); return; }; CV_WRAP virtual void setThreshold(int threshold) { CV_UNUSED(threshold); return; }
CV_WRAP virtual int getThreshold() const { return -1; }; CV_WRAP virtual int getThreshold() const { return -1; }
/** @brief Set detection octaves. /** @brief Set detection octaves.
@param octaves detection octaves. Use 0 to do single scale. @param octaves detection octaves. Use 0 to do single scale.
*/ */
CV_WRAP virtual void setOctaves(int octaves) { CV_UNUSED(octaves); return; }; CV_WRAP virtual void setOctaves(int octaves) { CV_UNUSED(octaves); return; }
CV_WRAP virtual int getOctaves() const { return -1; }; CV_WRAP virtual int getOctaves() const { return -1; }
}; };
/** @brief Class implementing the ORB (*oriented BRIEF*) keypoint detector and descriptor extractor /** @brief Class implementing the ORB (*oriented BRIEF*) keypoint detector and descriptor extractor

Loading…
Cancel
Save