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
e7b81688
Commit
e7b81688
authored
Oct 16, 2012
by
Andrey Kamaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "yet another portion of changes towards the binary compatibility"
This reverts commit
618fbf55
.
parent
18ab16db
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
22 deletions
+22
-22
contrib.hpp
modules/contrib/include/opencv2/contrib/contrib.hpp
+4
-3
ml.hpp
modules/ml/include/opencv2/ml/ml.hpp
+3
-3
objdetect.hpp
modules/objdetect/include/opencv2/objdetect/objdetect.hpp
+15
-16
No files found.
modules/contrib/include/opencv2/contrib/contrib.hpp
View file @
e7b81688
...
...
@@ -916,6 +916,9 @@ namespace cv
// Trains a FaceRecognizer.
CV_WRAP
virtual
void
train
(
InputArrayOfArrays
src
,
InputArray
labels
)
=
0
;
// Updates a FaceRecognizer.
CV_WRAP
virtual
void
update
(
InputArrayOfArrays
src
,
InputArray
labels
);
// Gets a prediction from a FaceRecognizer.
virtual
int
predict
(
InputArray
src
)
const
=
0
;
...
...
@@ -933,9 +936,7 @@ namespace cv
// Deserializes this object from a given cv::FileStorage.
virtual
void
load
(
const
FileStorage
&
fs
)
=
0
;
// Updates a FaceRecognizer.
CV_WRAP
virtual
void
update
(
InputArrayOfArrays
src
,
InputArray
labels
);
};
CV_EXPORTS_W
Ptr
<
FaceRecognizer
>
createEigenFaceRecognizer
(
int
num_components
=
0
,
double
threshold
=
DBL_MAX
);
...
...
modules/ml/include/opencv2/ml/ml.hpp
View file @
e7b81688
...
...
@@ -505,7 +505,7 @@ public:
CvParamGrid
degreeGrid
=
CvSVM
::
get_default_grid
(
CvSVM
::
DEGREE
),
bool
balanced
=
false
);
CV_WRAP
virtual
float
predict
(
const
cv
::
Mat
&
sample
,
bool
returnDFVal
=
false
)
const
;
CV_WRAP_AS
(
predict_all
)
void
predict
(
cv
::
InputArray
samples
,
cv
::
OutputArray
results
)
const
;
CV_WRAP_AS
(
predict_all
)
v
irtual
v
oid
predict
(
cv
::
InputArray
samples
,
cv
::
OutputArray
results
)
const
;
CV_WRAP
virtual
int
get_support_vector_count
()
const
;
virtual
const
float
*
get_support_vector
(
int
i
)
const
;
...
...
@@ -2080,6 +2080,8 @@ protected:
CvMat
*
var_idx_out
;
// mat
CvMat
*
var_types_out
;
// mat
int
header_lines_number
;
int
response_idx
;
int
train_sample_count
;
...
...
@@ -2093,8 +2095,6 @@ protected:
int
*
sample_idx
;
// data of train_sample_idx and test_sample_idx
cv
::
RNG
*
rng
;
int
header_lines_number
;
};
...
...
modules/objdetect/include/opencv2/objdetect/objdetect.hpp
View file @
e7b81688
...
...
@@ -596,22 +596,21 @@ public:
CV_PROP
int
nlevels
;
// evaluate specified ROI and return confidence value for each location
void
detectROI
(
const
cv
::
Mat
&
img
,
const
vector
<
cv
::
Point
>
&
locations
,
CV_OUT
std
::
vector
<
cv
::
Point
>&
foundLocations
,
CV_OUT
std
::
vector
<
double
>&
confidences
,
double
hitThreshold
=
0
,
cv
::
Size
winStride
=
Size
(),
cv
::
Size
padding
=
Size
())
const
;
// evaluate specified ROI and return confidence value for each location in multiple scales
void
detectMultiScaleROI
(
const
cv
::
Mat
&
img
,
CV_OUT
std
::
vector
<
cv
::
Rect
>&
foundLocations
,
std
::
vector
<
DetectionROI
>&
locations
,
double
hitThreshold
=
0
,
int
groupThreshold
=
0
)
const
;
// read/parse Dalal's alt model file
void
readALTModel
(
std
::
string
modelfile
);
// evaluate specified ROI and return confidence value for each location
virtual
void
detectROI
(
const
cv
::
Mat
&
img
,
const
vector
<
cv
::
Point
>
&
locations
,
CV_OUT
std
::
vector
<
cv
::
Point
>&
foundLocations
,
CV_OUT
std
::
vector
<
double
>&
confidences
,
double
hitThreshold
=
0
,
cv
::
Size
winStride
=
Size
(),
cv
::
Size
padding
=
Size
())
const
;
// evaluate specified ROI and return confidence value for each location in multiple scales
virtual
void
detectMultiScaleROI
(
const
cv
::
Mat
&
img
,
CV_OUT
std
::
vector
<
cv
::
Rect
>&
foundLocations
,
std
::
vector
<
DetectionROI
>&
locations
,
double
hitThreshold
=
0
,
int
groupThreshold
=
0
)
const
;
// read/parse Dalal's alt model file
void
readALTModel
(
std
::
string
modelfile
);
};
...
...
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