Convert cuda.ORB unnamed enum to static const int

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

@ -452,16 +452,13 @@ public:
class CV_EXPORTS_W ORB : public Feature2DAsync class CV_EXPORTS_W ORB : public Feature2DAsync
{ {
public: public:
enum static const int X_ROW = 0;
{ static const int Y_ROW = 1;
X_ROW = 0, static const int RESPONSE_ROW = 2;
Y_ROW, static const int ANGLE_ROW = 3;
RESPONSE_ROW, static const int OCTAVE_ROW = 4;
ANGLE_ROW, static const int SIZE_ROW = 5;
OCTAVE_ROW, static const int ROWS_COUNT = 6;
SIZE_ROW,
ROWS_COUNT
};
CV_WRAP static Ptr<cuda::ORB> create(int nfeatures=500, CV_WRAP static Ptr<cuda::ORB> create(int nfeatures=500,
float scaleFactor=1.2f, float scaleFactor=1.2f,

Loading…
Cancel
Save