diff --git a/modules/objdetect/include/opencv2/objdetect/objdetect.hpp b/modules/objdetect/include/opencv2/objdetect/objdetect.hpp index e97828a62..2d08dcc48 100644 --- a/modules/objdetect/include/opencv2/objdetect/objdetect.hpp +++ b/modules/objdetect/include/opencv2/objdetect/objdetect.hpp @@ -292,10 +292,10 @@ namespace cv * 1) provide c++ interface; * 2) make it possible to load and detect more than one class (model) unlike CvLatentSvmDetector. */ -class CV_EXPORTS_W LatentSvmDetector +class CV_EXPORTS LatentSvmDetector { public: - struct CV_EXPORTS_W ObjectDetection + struct CV_EXPORTS ObjectDetection { ObjectDetection(); ObjectDetection( const Rect& rect, float score, int classID=-1 ); @@ -304,18 +304,18 @@ public: int classID; }; - CV_WRAP LatentSvmDetector(); - CV_WRAP LatentSvmDetector( const vector& filenames, const vector& classNames=vector() ); + LatentSvmDetector(); + LatentSvmDetector( const vector& filenames, const vector& classNames=vector() ); virtual ~LatentSvmDetector(); - CV_WRAP virtual void clear(); - CV_WRAP virtual bool empty() const; - CV_WRAP bool load( const vector& filenames, const vector& classNames=vector() ); + virtual void clear(); + virtual bool empty() const; + bool load( const vector& filenames, const vector& classNames=vector() ); - CV_WRAP virtual void detect( const Mat& image, - vector& objectDetections, - float overlapThreshold=0.5f, - int numThreads=-1 ); + virtual void detect( const Mat& image, + vector& objectDetections, + float overlapThreshold=0.5f, + int numThreads=-1 ); const vector& getClassNames() const; size_t getClassCount() const;