Commit 3cadb400 authored by Hamdi Sahloul's avatar Hamdi Sahloul

Convert cuda.FastFeatureDetector unnamed enum to static const int

parent 9735ec66
...@@ -426,14 +426,10 @@ public: ...@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment