Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
d3cd2cb5
Commit
d3cd2cb5
authored
Oct 04, 2011
by
Maria Dimashova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed porting to java of latent svm
parent
ea454e6e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
objdetect.hpp
modules/objdetect/include/opencv2/objdetect/objdetect.hpp
+11
-11
No files found.
modules/objdetect/include/opencv2/objdetect/objdetect.hpp
View file @
d3cd2cb5
...
...
@@ -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.5
f
,
int
numThreads
=-
1
);
virtual
void
detect
(
const
Mat
&
image
,
vector
<
ObjectDetection
>&
objectDetections
,
float
overlapThreshold
=
0.5
f
,
int
numThreads
=-
1
);
const
vector
<
string
>&
getClassNames
()
const
;
size_t
getClassCount
()
const
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment