From b021e975b415f7fc4a3ccaa4f1765270a3b294b3 Mon Sep 17 00:00:00 2001 From: ackimixs Date: Mon, 8 Apr 2024 21:17:08 +0200 Subject: [PATCH] to be LARGE --- aruco/ArucoDetector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aruco/ArucoDetector.cpp b/aruco/ArucoDetector.cpp index 1656321..11d65d9 100644 --- a/aruco/ArucoDetector.cpp +++ b/aruco/ArucoDetector.cpp @@ -208,7 +208,7 @@ std::pair>>> Ar cv::Mat rotaEuler = (cv::Mat_(3, 1) << roll, pitch, yaw); // Apply the homogeneous transformation to tvec - cv::Mat translat = (cv::Mat_(4, 1) << tvec.at(2, 0) /*+ 91 TODO camera is not at the center*/ /* TODO la pince n'est pas au millieu non plus*/, tvec.at(1, 0) /* + TODO HAUTEUR CAMERA */, (tvec.at(0, 0)), 1); + cv::Mat translat = (cv::Mat_(4, 1) << tvec.at(2, 0) + 10 /*+ 91 TODO camera is not at the center*/ /* TODO la pince n'est pas au millieu non plus*/, tvec.at(1, 0) /* + TODO HAUTEUR CAMERA */, (tvec.at(0, 0)), 1); cv::Mat transformedTvec = (transformationMatrix * translat);