Commit d3cd2cb5 authored by Maria Dimashova's avatar Maria Dimashova

removed porting to java of latent svm

parent ea454e6e
...@@ -292,10 +292,10 @@ namespace cv ...@@ -292,10 +292,10 @@ namespace cv
* 1) provide c++ interface; * 1) provide c++ interface;
* 2) make it possible to load and detect more than one class (model) unlike CvLatentSvmDetector. * 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: public:
struct CV_EXPORTS_W ObjectDetection struct CV_EXPORTS ObjectDetection
{ {
ObjectDetection(); ObjectDetection();
ObjectDetection( const Rect& rect, float score, int classID=-1 ); ObjectDetection( const Rect& rect, float score, int classID=-1 );
...@@ -304,18 +304,18 @@ public: ...@@ -304,18 +304,18 @@ public:
int classID; int classID;
}; };
CV_WRAP LatentSvmDetector(); LatentSvmDetector();
CV_WRAP LatentSvmDetector( const vector<string>& filenames, const vector<string>& classNames=vector<string>() ); LatentSvmDetector( const vector<string>& filenames, const vector<string>& classNames=vector<string>() );
virtual ~LatentSvmDetector(); virtual ~LatentSvmDetector();
CV_WRAP virtual void clear(); virtual void clear();
CV_WRAP virtual bool empty() const; virtual bool empty() const;
CV_WRAP bool load( const vector<string>& filenames, const vector<string>& classNames=vector<string>() ); bool load( const vector<string>& filenames, const vector<string>& classNames=vector<string>() );
CV_WRAP virtual void detect( const Mat& image, virtual void detect( const Mat& image,
vector<ObjectDetection>& objectDetections, vector<ObjectDetection>& objectDetections,
float overlapThreshold=0.5f, float overlapThreshold=0.5f,
int numThreads=-1 ); int numThreads=-1 );
const vector<string>& getClassNames() const; const vector<string>& getClassNames() const;
size_t getClassCount() const; size_t getClassCount() const;
......
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