Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Opencv
提交
2756ae20
O
Opencv
项目概览
Greenplum
/
Opencv
11 个月 前同步成功
通知
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,发现更多精彩内容 >>
提交
2756ae20
编写于
4月 29, 2014
作者:
A
Alexander Mordvintsev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
exposed OpenCL-control functions to python
上级
cafcfc4d
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
10 addition
and
7 deletion
+10
-7
modules/core/include/opencv2/core/ocl.hpp
modules/core/include/opencv2/core/ocl.hpp
+6
-6
modules/python/CMakeLists.txt
modules/python/CMakeLists.txt
+1
-0
modules/python/src2/gen2.py
modules/python/src2/gen2.py
+2
-1
modules/python/src2/hdr_parser.py
modules/python/src2/hdr_parser.py
+1
-0
未找到文件。
modules/core/include/opencv2/core/ocl.hpp
浏览文件 @
2756ae20
...
...
@@ -46,12 +46,12 @@
namespace
cv
{
namespace
ocl
{
CV_EXPORTS
bool
haveOpenCL
();
CV_EXPORTS
bool
useOpenCL
();
CV_EXPORTS
bool
haveAmdBlas
();
CV_EXPORTS
bool
haveAmdFft
();
CV_EXPORTS
void
setUseOpenCL
(
bool
flag
);
CV_EXPORTS
void
finish
();
CV_EXPORTS
_W
bool
haveOpenCL
();
CV_EXPORTS
_W
bool
useOpenCL
();
CV_EXPORTS
_W
bool
haveAmdBlas
();
CV_EXPORTS
_W
bool
haveAmdFft
();
CV_EXPORTS
_W
void
setUseOpenCL
(
bool
flag
);
CV_EXPORTS
_W
void
finish
();
class
CV_EXPORTS
Context
;
class
CV_EXPORTS
Device
;
...
...
modules/python/CMakeLists.txt
浏览文件 @
2756ae20
...
...
@@ -25,6 +25,7 @@ set(opencv_hdrs
"
${
OPENCV_MODULE_opencv_core_LOCATION
}
/include/opencv2/core/types.hpp"
"
${
OPENCV_MODULE_opencv_core_LOCATION
}
/include/opencv2/core/persistence.hpp"
"
${
OPENCV_MODULE_opencv_core_LOCATION
}
/include/opencv2/core/utility.hpp"
"
${
OPENCV_MODULE_opencv_core_LOCATION
}
/include/opencv2/core/ocl.hpp"
"
${
OPENCV_MODULE_opencv_flann_LOCATION
}
/include/opencv2/flann/miniflann.hpp"
"
${
OPENCV_MODULE_opencv_imgproc_LOCATION
}
/include/opencv2/imgproc.hpp"
"
${
OPENCV_MODULE_opencv_video_LOCATION
}
/include/opencv2/video/background_segm.hpp"
...
...
modules/python/src2/gen2.py
浏览文件 @
2756ae20
...
...
@@ -776,7 +776,7 @@ class PythonWrapperGenerator(object):
classname
=
bareclassname
=
""
name
=
decl
[
0
]
dpos
=
name
.
rfind
(
"."
)
if
dpos
>=
0
and
name
[:
dpos
]
!=
"cv"
:
if
dpos
>=
0
and
name
[:
dpos
]
not
in
[
"cv"
,
"cv.ocl"
]
:
classname
=
bareclassname
=
re
.
sub
(
r
"^cv\."
,
""
,
name
[:
dpos
])
name
=
name
[
dpos
+
1
:]
dpos
=
classname
.
rfind
(
"."
)
...
...
@@ -785,6 +785,7 @@ class PythonWrapperGenerator(object):
classname
=
classname
.
replace
(
"."
,
"_"
)
cname
=
name
name
=
re
.
sub
(
r
"^cv\."
,
""
,
name
)
name
=
name
.
replace
(
"."
,
"_"
)
isconstructor
=
cname
==
bareclassname
cname
=
cname
.
replace
(
"."
,
"::"
)
isclassmethod
=
False
...
...
modules/python/src2/hdr_parser.py
浏览文件 @
2756ae20
...
...
@@ -6,6 +6,7 @@ import os, sys, re, string
# the list only for debugging. The real list, used in the real OpenCV build, is specified in CMakeLists.txt
opencv_hdr_list
=
[
"../../core/include/opencv2/core.hpp"
,
"../../core/include/opencv2/core/ocl.hpp"
,
"../../flann/include/opencv2/flann/miniflann.hpp"
,
"../../ml/include/opencv2/ml.hpp"
,
"../../imgproc/include/opencv2/imgproc.hpp"
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录