Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv_contrib
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_contrib
Commits
47de8dd3
Commit
47de8dd3
authored
Nov 15, 2019
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
python: force using of ArgInfo
parent
10828884
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
6 deletions
+23
-6
pyopencv_LSDDetector.hpp
modules/line_descriptor/misc/python/pyopencv_LSDDetector.hpp
+1
-1
pyopencv_linemod.hpp
modules/rgbd/misc/python/pyopencv_linemod.hpp
+4
-4
pose_3d.hpp
...ace_matching/include/opencv2/surface_matching/pose_3d.hpp
+1
-1
pyopencv_ppf_match_3d.hpp
...es/surface_matching/misc/python/pyopencv_ppf_match_3d.hpp
+17
-0
No files found.
modules/line_descriptor/misc/python/pyopencv_LSDDetector.hpp
View file @
47de8dd3
...
...
@@ -2,7 +2,7 @@
template
<>
struct
pyopencvVecConverter
<
line_descriptor
::
KeyLine
>
{
static
bool
to
(
PyObject
*
obj
,
std
::
vector
<
line_descriptor
::
KeyLine
>&
value
,
const
ArgInfo
info
)
static
bool
to
(
PyObject
*
obj
,
std
::
vector
<
line_descriptor
::
KeyLine
>&
value
,
const
ArgInfo
&
info
)
{
return
pyopencv_to_generic_vec
(
obj
,
value
,
info
);
}
...
...
modules/rgbd/misc/python/pyopencv_linemod.hpp
View file @
47de8dd3
...
...
@@ -3,7 +3,7 @@
template
<>
struct
pyopencvVecConverter
<
linemod
::
Match
>
{
static
bool
to
(
PyObject
*
obj
,
std
::
vector
<
linemod
::
Match
>&
value
,
const
ArgInfo
info
)
static
bool
to
(
PyObject
*
obj
,
std
::
vector
<
linemod
::
Match
>&
value
,
const
ArgInfo
&
info
)
{
return
pyopencv_to_generic_vec
(
obj
,
value
,
info
);
}
...
...
@@ -16,7 +16,7 @@ template<> struct pyopencvVecConverter<linemod::Match>
template
<>
struct
pyopencvVecConverter
<
linemod
::
Template
>
{
static
bool
to
(
PyObject
*
obj
,
std
::
vector
<
linemod
::
Template
>&
value
,
const
ArgInfo
info
)
static
bool
to
(
PyObject
*
obj
,
std
::
vector
<
linemod
::
Template
>&
value
,
const
ArgInfo
&
info
)
{
return
pyopencv_to_generic_vec
(
obj
,
value
,
info
);
}
...
...
@@ -29,7 +29,7 @@ template<> struct pyopencvVecConverter<linemod::Template>
template
<>
struct
pyopencvVecConverter
<
linemod
::
Feature
>
{
static
bool
to
(
PyObject
*
obj
,
std
::
vector
<
linemod
::
Feature
>&
value
,
const
ArgInfo
info
)
static
bool
to
(
PyObject
*
obj
,
std
::
vector
<
linemod
::
Feature
>&
value
,
const
ArgInfo
&
info
)
{
return
pyopencv_to_generic_vec
(
obj
,
value
,
info
);
}
...
...
@@ -42,7 +42,7 @@ template<> struct pyopencvVecConverter<linemod::Feature>
template
<>
struct
pyopencvVecConverter
<
Ptr
<
linemod
::
Modality
>
>
{
static
bool
to
(
PyObject
*
obj
,
std
::
vector
<
Ptr
<
linemod
::
Modality
>
>&
value
,
const
ArgInfo
info
)
static
bool
to
(
PyObject
*
obj
,
std
::
vector
<
Ptr
<
linemod
::
Modality
>
>&
value
,
const
ArgInfo
&
info
)
{
return
pyopencv_to_generic_vec
(
obj
,
value
,
info
);
}
...
...
modules/surface_matching/include/opencv2/surface_matching/pose_3d.hpp
View file @
47de8dd3
...
...
@@ -67,7 +67,7 @@ typedef Ptr<PoseCluster3D> PoseCluster3DPtr;
* various helper methods to work with poses
*
*/
class
CV_EXPORTS
Pose3D
class
CV_EXPORTS
_W
Pose3D
{
public
:
Pose3D
()
...
...
modules/surface_matching/misc/python/pyopencv_ppf_match_3d.hpp
0 → 100644
View file @
47de8dd3
#ifdef HAVE_OPENCV_SURFACE_MATCHING
template
<>
struct
pyopencvVecConverter
<
ppf_match_3d
::
Pose3DPtr
>
{
static
bool
to
(
PyObject
*
obj
,
std
::
vector
<
ppf_match_3d
::
Pose3DPtr
>&
value
,
const
ArgInfo
&
info
)
{
return
pyopencv_to_generic_vec
(
obj
,
value
,
info
);
}
static
PyObject
*
from
(
const
std
::
vector
<
ppf_match_3d
::
Pose3DPtr
>&
value
)
{
return
pyopencv_from_generic_vec
(
value
);
}
};
typedef
std
::
vector
<
ppf_match_3d
::
Pose3DPtr
>
vector_Pose3DPtr
;
#endif
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