Convert cuda.FastFeatureDetector unnamed enum to static const int

pull/1744/head
Hamdi Sahloul 7 years ago
parent 9735ec666c
commit 3cadb4000b
  1. 12
      modules/cudafeatures2d/include/opencv2/cudafeatures2d.hpp

@ -426,14 +426,10 @@ public:
class CV_EXPORTS_W FastFeatureDetector : public Feature2DAsync class CV_EXPORTS_W FastFeatureDetector : public Feature2DAsync
{ {
public: public:
enum static const int LOCATION_ROW = 0;
{ static const int RESPONSE_ROW = 1;
LOCATION_ROW = 0, static const int ROWS_COUNT = 2;
RESPONSE_ROW, static const int FEATURE_SIZE = 7;
ROWS_COUNT,
FEATURE_SIZE = 7
};
CV_WRAP static Ptr<cuda::FastFeatureDetector> create(int threshold=10, CV_WRAP static Ptr<cuda::FastFeatureDetector> create(int threshold=10,
bool nonmaxSuppression=true, bool nonmaxSuppression=true,

Loading…
Cancel
Save