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
c8afe7ef
Commit
c8afe7ef
authored
Jan 21, 2014
by
Andrey Pavlenko
Committed by
OpenCV Buildbot
Jan 21, 2014
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1320 from mbarnach:svm_hog
parents
4fbd2ef8
089b8e2f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
1 deletion
+2
-1
ml.hpp
modules/ml/include/opencv2/ml.hpp
+2
-0
svm.cpp
modules/ml/src/svm.cpp
+0
-1
train_HOG.cpp
samples/cpp/train_HOG.cpp
+0
-0
No files found.
modules/ml/include/opencv2/ml.hpp
View file @
c8afe7ef
...
...
@@ -518,6 +518,8 @@ public:
virtual
CvSVMParams
get_params
()
const
{
return
params
;
}
CV_WRAP
virtual
void
clear
();
virtual
const
CvSVMDecisionFunc
*
get_decision_function
()
const
{
return
decision_func
;
}
static
CvParamGrid
get_default_grid
(
int
param_id
);
virtual
void
write
(
CvFileStorage
*
storage
,
const
char
*
name
)
const
;
...
...
modules/ml/src/svm.cpp
View file @
c8afe7ef
...
...
@@ -1245,7 +1245,6 @@ const float* CvSVM::get_support_vector(int i) const
return
sv
&&
(
unsigned
)
i
<
(
unsigned
)
sv_total
?
sv
[
i
]
:
0
;
}
bool
CvSVM
::
set_params
(
const
CvSVMParams
&
_params
)
{
bool
ok
=
false
;
...
...
samples/cpp/train_HOG.cpp
0 → 100644
View file @
c8afe7ef
This diff is collapsed.
Click to expand it.
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