提交 d3cd2cb5 编写于 作者: M Maria Dimashova

removed porting to java of latent svm

上级 ea454e6e
......@@ -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<string>& filenames, const vector<string>& classNames=vector<string>() );
LatentSvmDetector();
LatentSvmDetector( const vector<string>& filenames, const vector<string>& classNames=vector<string>() );
virtual ~LatentSvmDetector();
CV_WRAP virtual void clear();
CV_WRAP virtual bool empty() const;
CV_WRAP bool load( const vector<string>& filenames, const vector<string>& classNames=vector<string>() );
virtual void clear();
virtual bool empty() const;
bool load( const vector<string>& filenames, const vector<string>& classNames=vector<string>() );
CV_WRAP virtual void detect( const Mat& image,
vector<ObjectDetection>& objectDetections,
float overlapThreshold=0.5f,
int numThreads=-1 );
virtual void detect( const Mat& image,
vector<ObjectDetection>& objectDetections,
float overlapThreshold=0.5f,
int numThreads=-1 );
const vector<string>& getClassNames() const;
size_t getClassCount() const;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册