Skip to content

Commit 029559a

Browse files
committed
Merge pull request #607 from paroj:arucopypose
2 parents fee4dee + 94a2e74 commit 029559a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

modules/aruco/include/opencv2/aruco.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -192,9 +192,9 @@ CV_EXPORTS_W void detectMarkers(InputArray image, Ptr<Dictionary> &dictionary, O
192192
* \f$A = \vecthreethree{f_x}{0}{c_x}{0}{f_y}{c_y}{0}{0}{1}\f$
193193
* @param distCoeffs vector of distortion coefficients
194194
* \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
195-
* @param rvecs array of output rotation vectors (@sa Rodrigues) (e.g. std::vector<cv::Vec3d>>).
195+
* @param rvecs array of output rotation vectors (@sa Rodrigues) (e.g. std::vector<cv::Vec3d>).
196196
* Each element in rvecs corresponds to the specific marker in imgPoints.
197-
* @param tvecs array of output translation vectors (e.g. std::vector<cv::Vec3d>>).
197+
* @param tvecs array of output translation vectors (e.g. std::vector<cv::Vec3d>).
198198
* Each element in tvecs corresponds to the specific marker in imgPoints.
199199
*
200200
* 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
209209
*/
210210
CV_EXPORTS_W void estimatePoseSingleMarkers(InputArrayOfArrays corners, float markerLength,
211211
InputArray cameraMatrix, InputArray distCoeffs,
212-
OutputArrayOfArrays rvecs, OutputArrayOfArrays tvecs);
212+
OutputArray rvecs, OutputArray tvecs);
213213

214214

215215

modules/aruco/src/aruco.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -876,7 +876,7 @@ class SinglePoseEstimationParallel : public ParallelLoopBody {
876876

877877
for(int i = begin; i < end; i++) {
878878
solvePnP(markerObjPoints, corners.getMat(i), cameraMatrix, distCoeffs,
879-
rvecs.at<Vec3d>(0, i), tvecs.at<Vec3d>(0, i));
879+
rvecs.at<Vec3d>(i), tvecs.at<Vec3d>(i));
880880
}
881881
}
882882

@@ -896,7 +896,7 @@ class SinglePoseEstimationParallel : public ParallelLoopBody {
896896
*/
897897
void estimatePoseSingleMarkers(InputArrayOfArrays _corners, float markerLength,
898898
InputArray _cameraMatrix, InputArray _distCoeffs,
899-
OutputArrayOfArrays _rvecs, OutputArrayOfArrays _tvecs) {
899+
OutputArray _rvecs, OutputArray _tvecs) {
900900

901901
CV_Assert(markerLength > 0);
902902

0 commit comments

Comments
 (0)