Skip to content

Commit d3cd2cb

Browse files
author
Maria Dimashova
committed
removed porting to java of latent svm
1 parent ea454e6 commit d3cd2cb

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

modules/objdetect/include/opencv2/objdetect/objdetect.hpp

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -292,10 +292,10 @@ namespace cv
292292
* 1) provide c++ interface;
293293
* 2) make it possible to load and detect more than one class (model) unlike CvLatentSvmDetector.
294294
*/
295-
class CV_EXPORTS_W LatentSvmDetector
295+
class CV_EXPORTS LatentSvmDetector
296296
{
297297
public:
298-
struct CV_EXPORTS_W ObjectDetection
298+
struct CV_EXPORTS ObjectDetection
299299
{
300300
ObjectDetection();
301301
ObjectDetection( const Rect& rect, float score, int classID=-1 );
@@ -304,18 +304,18 @@ class CV_EXPORTS_W LatentSvmDetector
304304
int classID;
305305
};
306306

307-
CV_WRAP LatentSvmDetector();
308-
CV_WRAP LatentSvmDetector( const vector<string>& filenames, const vector<string>& classNames=vector<string>() );
307+
LatentSvmDetector();
308+
LatentSvmDetector( const vector<string>& filenames, const vector<string>& classNames=vector<string>() );
309309
virtual ~LatentSvmDetector();
310310

311-
CV_WRAP virtual void clear();
312-
CV_WRAP virtual bool empty() const;
313-
CV_WRAP bool load( const vector<string>& filenames, const vector<string>& classNames=vector<string>() );
311+
virtual void clear();
312+
virtual bool empty() const;
313+
bool load( const vector<string>& filenames, const vector<string>& classNames=vector<string>() );
314314

315-
CV_WRAP virtual void detect( const Mat& image,
316-
vector<ObjectDetection>& objectDetections,
317-
float overlapThreshold=0.5f,
318-
int numThreads=-1 );
315+
virtual void detect( const Mat& image,
316+
vector<ObjectDetection>& objectDetections,
317+
float overlapThreshold=0.5f,
318+
int numThreads=-1 );
319319

320320
const vector<string>& getClassNames() const;
321321
size_t getClassCount() const;

0 commit comments

Comments
 (0)