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
029559a7
Commit
029559a7
authored
Mar 31, 2016
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #607 from paroj:arucopypose
parents
fee4dee1
94a2e747
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
aruco.hpp
modules/aruco/include/opencv2/aruco.hpp
+3
-3
aruco.cpp
modules/aruco/src/aruco.cpp
+2
-2
No files found.
modules/aruco/include/opencv2/aruco.hpp
View file @
029559a7
...
...
@@ -192,9 +192,9 @@ CV_EXPORTS_W void detectMarkers(InputArray image, Ptr<Dictionary> &dictionary, O
* \f$A = \vecthreethree{f_x}{0}{c_x}{0}{f_y}{c_y}{0}{0}{1}\f$
* @param distCoeffs vector of distortion coefficients
* \f$(k_1, k_2, p_1, p_2[, k_3[, k_4, k_5, k_6],[s_1, s_2, s_3, s_4]])\f$ of 4, 5, 8 or 12 elements
* @param rvecs array of output rotation vectors (@sa Rodrigues) (e.g. std::vector<cv::Vec3d>
>
).
* @param rvecs array of output rotation vectors (@sa Rodrigues) (e.g. std::vector<cv::Vec3d>).
* Each element in rvecs corresponds to the specific marker in imgPoints.
* @param tvecs array of output translation vectors (e.g. std::vector<cv::Vec3d>
>
).
* @param tvecs array of output translation vectors (e.g. std::vector<cv::Vec3d>).
* Each element in tvecs corresponds to the specific marker in imgPoints.
*
* This function receives the detected markers and returns their pose estimation respect to
...
...
@@ -209,7 +209,7 @@ CV_EXPORTS_W void detectMarkers(InputArray image, Ptr<Dictionary> &dictionary, O
*/
CV_EXPORTS_W
void
estimatePoseSingleMarkers
(
InputArrayOfArrays
corners
,
float
markerLength
,
InputArray
cameraMatrix
,
InputArray
distCoeffs
,
OutputArray
OfArrays
rvecs
,
OutputArrayOfArrays
tvecs
);
OutputArray
rvecs
,
OutputArray
tvecs
);
...
...
modules/aruco/src/aruco.cpp
View file @
029559a7
...
...
@@ -876,7 +876,7 @@ class SinglePoseEstimationParallel : public ParallelLoopBody {
for
(
int
i
=
begin
;
i
<
end
;
i
++
)
{
solvePnP
(
markerObjPoints
,
corners
.
getMat
(
i
),
cameraMatrix
,
distCoeffs
,
rvecs
.
at
<
Vec3d
>
(
0
,
i
),
tvecs
.
at
<
Vec3d
>
(
0
,
i
));
rvecs
.
at
<
Vec3d
>
(
i
),
tvecs
.
at
<
Vec3d
>
(
i
));
}
}
...
...
@@ -896,7 +896,7 @@ class SinglePoseEstimationParallel : public ParallelLoopBody {
*/
void
estimatePoseSingleMarkers
(
InputArrayOfArrays
_corners
,
float
markerLength
,
InputArray
_cameraMatrix
,
InputArray
_distCoeffs
,
OutputArray
OfArrays
_rvecs
,
OutputArrayOfArrays
_tvecs
)
{
OutputArray
_rvecs
,
OutputArray
_tvecs
)
{
CV_Assert
(
markerLength
>
0
);
...
...
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