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
e90ae8e9
Commit
e90ae8e9
authored
Feb 18, 2016
by
Christian Richardt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Completed wrapping for Python bindings.
parent
7b2c6f83
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
18 deletions
+18
-18
aruco.hpp
modules/aruco/include/opencv2/aruco.hpp
+7
-7
charuco.hpp
modules/aruco/include/opencv2/aruco/charuco.hpp
+7
-7
dictionary.hpp
modules/aruco/include/opencv2/aruco/dictionary.hpp
+4
-4
No files found.
modules/aruco/include/opencv2/aruco.hpp
View file @
e90ae8e9
...
...
@@ -228,14 +228,14 @@ class CV_EXPORTS_W Board {
public
:
// array of object points of all the marker corners in the board
// each marker include its 4 corners, i.e. for M markers, the size is Mx4
std
::
vector
<
std
::
vector
<
Point3f
>
>
objPoints
;
CV_PROP
std
::
vector
<
std
::
vector
<
Point3f
>
>
objPoints
;
// the dictionary of markers employed for this board
Ptr
<
Dictionary
>
dictionary
;
CV_PROP
Ptr
<
Dictionary
>
dictionary
;
// vector of the identifiers of the markers in the board (same size than objPoints)
// The identifiers refers to the board dictionary
std
::
vector
<
int
>
ids
;
CV_PROP
std
::
vector
<
int
>
ids
;
};
...
...
@@ -259,7 +259,7 @@ class CV_EXPORTS_W GridBoard : public Board {
*
* This function return the image of the GridBoard, ready to be printed.
*/
void
draw
(
Size
outSize
,
OutputArray
img
,
int
marginSize
=
0
,
int
borderBits
=
1
);
CV_WRAP
void
draw
(
Size
outSize
,
OutputArray
img
,
int
marginSize
=
0
,
int
borderBits
=
1
);
/**
...
...
@@ -282,17 +282,17 @@ class CV_EXPORTS_W GridBoard : public Board {
/**
*
*/
Size
getGridSize
()
const
{
return
Size
(
_markersX
,
_markersY
);
}
CV_WRAP
Size
getGridSize
()
const
{
return
Size
(
_markersX
,
_markersY
);
}
/**
*
*/
float
getMarkerLength
()
const
{
return
_markerLength
;
}
CV_WRAP
float
getMarkerLength
()
const
{
return
_markerLength
;
}
/**
*
*/
float
getMarkerSeparation
()
const
{
return
_markerSeparation
;
}
CV_WRAP
float
getMarkerSeparation
()
const
{
return
_markerSeparation
;
}
private
:
...
...
modules/aruco/include/opencv2/aruco/charuco.hpp
View file @
e90ae8e9
...
...
@@ -63,11 +63,11 @@ class CV_EXPORTS_W CharucoBoard : public Board {
public
:
// vector of chessboard 3D corners precalculated
std
::
vector
<
Point3f
>
chessboardCorners
;
CV_PROP
std
::
vector
<
Point3f
>
chessboardCorners
;
// for each charuco corner, nearest marker id and nearest marker corner id of each marker
std
::
vector
<
std
::
vector
<
int
>
>
nearestMarkerIdx
;
std
::
vector
<
std
::
vector
<
int
>
>
nearestMarkerCorners
;
CV_PROP
std
::
vector
<
std
::
vector
<
int
>
>
nearestMarkerIdx
;
CV_PROP
std
::
vector
<
std
::
vector
<
int
>
>
nearestMarkerCorners
;
/**
* @brief Draw a ChArUco board
...
...
@@ -80,7 +80,7 @@ class CV_EXPORTS_W CharucoBoard : public Board {
*
* This function return the image of the ChArUco board, ready to be printed.
*/
void
draw
(
Size
outSize
,
OutputArray
img
,
int
marginSize
=
0
,
int
borderBits
=
1
);
CV_WRAP
void
draw
(
Size
outSize
,
OutputArray
img
,
int
marginSize
=
0
,
int
borderBits
=
1
);
/**
...
...
@@ -103,17 +103,17 @@ class CV_EXPORTS_W CharucoBoard : public Board {
/**
*
*/
Size
getChessboardSize
()
const
{
return
Size
(
_squaresX
,
_squaresY
);
}
CV_WRAP
Size
getChessboardSize
()
const
{
return
Size
(
_squaresX
,
_squaresY
);
}
/**
*
*/
float
getSquareLength
()
const
{
return
_squareLength
;
}
CV_WRAP
float
getSquareLength
()
const
{
return
_squareLength
;
}
/**
*
*/
float
getMarkerLength
()
const
{
return
_markerLength
;
}
CV_WRAP
float
getMarkerLength
()
const
{
return
_markerLength
;
}
private
:
void
_getNearestMarkerCorners
();
...
...
modules/aruco/include/opencv2/aruco/dictionary.hpp
View file @
e90ae8e9
...
...
@@ -61,9 +61,9 @@ namespace aruco {
class
CV_EXPORTS_W
Dictionary
{
public
:
CV_PROP
_RW
Mat
bytesList
;
// marker code information
CV_PROP
_RW
int
markerSize
;
// number of bits per dimension
CV_PROP
_RW
int
maxCorrectionBits
;
// maximum number of bits that can be corrected
CV_PROP
Mat
bytesList
;
// marker code information
CV_PROP
int
markerSize
;
// number of bits per dimension
CV_PROP
int
maxCorrectionBits
;
// maximum number of bits that can be corrected
/**
...
...
@@ -114,7 +114,7 @@ class CV_EXPORTS_W Dictionary {
/**
* @brief Draw a canonical marker image
*/
void
drawMarker
(
int
id
,
int
sidePixels
,
OutputArray
_img
,
int
borderBits
=
1
)
const
;
CV_WRAP
void
drawMarker
(
int
id
,
int
sidePixels
,
OutputArray
_img
,
int
borderBits
=
1
)
const
;
/**
...
...
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