Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Opencv
提交
e7b81688
O
Opencv
项目概览
Greenplum
/
Opencv
12 个月 前同步成功
通知
7
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
Opencv
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
e7b81688
编写于
10月 16, 2012
作者:
A
Andrey Kamaev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Revert "yet another portion of changes towards the binary compatibility"
This reverts commit
618fbf55
.
上级
18ab16db
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
22 addition
and
22 deletion
+22
-22
modules/contrib/include/opencv2/contrib/contrib.hpp
modules/contrib/include/opencv2/contrib/contrib.hpp
+4
-3
modules/ml/include/opencv2/ml/ml.hpp
modules/ml/include/opencv2/ml/ml.hpp
+3
-3
modules/objdetect/include/opencv2/objdetect/objdetect.hpp
modules/objdetect/include/opencv2/objdetect/objdetect.hpp
+15
-16
未找到文件。
modules/contrib/include/opencv2/contrib/contrib.hpp
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
);
};
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录