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
5f17cc1a
Commit
5f17cc1a
authored
6 years ago
by
Hamdi Sahloul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Python wrapper for GpuMat
parent
8f6695ac
master
4.3.0
4.2.0
4.1.2
4.1.2-openvino
4.1.1
4.1.1-openvino
4.1.0
4.1.0-openvino
4.0.1
4.0.1-openvino
4.0.0
4.0.0-rc
4.0.0-openvino
4.0.0-beta
No related merge requests found
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
pyopencv_cuda.hpp
modules/core/misc/python/pyopencv_cuda.hpp
+13
-0
No files found.
modules/core/misc/python/pyopencv_c
ore
.hpp
→
modules/core/misc/python/pyopencv_c
uda
.hpp
View file @
5f17cc1a
...
...
@@ -7,6 +7,19 @@ typedef cuda::GpuMat::Allocator GpuMat_Allocator;
typedef
cuda
::
HostMem
::
AllocType
HostMem_AllocType
;
typedef
cuda
::
Event
::
CreateFlags
Event_CreateFlags
;
template
<>
struct
pyopencvVecConverter
<
cuda
::
GpuMat
>
{
static
bool
to
(
PyObject
*
obj
,
std
::
vector
<
cuda
::
GpuMat
>&
value
,
const
ArgInfo
info
)
{
return
pyopencv_to_generic_vec
(
obj
,
value
,
info
);
}
static
PyObject
*
from
(
const
std
::
vector
<
cuda
::
GpuMat
>&
value
)
{
return
pyopencv_from_generic_vec
(
value
);
}
};
CV_PY_TO_CLASS
(
cuda
::
GpuMat
);
CV_PY_TO_CLASS
(
cuda
::
Stream
);
CV_PY_TO_CLASS
(
cuda
::
Event
);
...
...
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