removed porting to java of latent svm

This commit is contained in:
Maria Dimashova 2011-10-04 06:47:41 +00:00
parent ea454e6ee4
commit d3cd2cb5c0

View File

@ -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:
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;