Commit c41a963f authored by Felix Wehnert's avatar Felix Wehnert Committed by GitHub

fixed typo in tutorial

rvecs and tvecs should be of type std::vector<cv::Vec3d> as used in the detect_markers.cpp. Otherwise an exception is thrown.
parent dedce9a3
......@@ -318,7 +318,7 @@ A basic full example for pose estimation from single markers:
if (ids.size() > 0) {
cv::aruco::drawDetectedMarkers(imageCopy, corners, ids);
std::vector<cv::Mat> rvecs, tvecs;
std::vector<cv::Vec3d> rvecs, tvecs;
cv::aruco::estimatePoseSingleMarkers(corners, 0.05, cameraMatrix, distCoeffs, rvecs, tvecs);
// draw axis for each marker
for(int i=0; i<ids.size(); i++)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment