From b5954feb8bb920f2863e14e11c94a1746c1348eb Mon Sep 17 00:00:00 2001 From: ackimixs Date: Thu, 11 Apr 2024 11:55:48 +0200 Subject: [PATCH] aruco size --- aruco/ArucoTag.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/aruco/ArucoTag.h b/aruco/ArucoTag.h index 453804a..9d41e37 100644 --- a/aruco/ArucoTag.h +++ b/aruco/ArucoTag.h @@ -33,10 +33,10 @@ public: // 18.96 w // 19.3 h this->objectRepresenation = cv::Mat(4, 1, CV_32FC3); - this->objectRepresenation.ptr(0)[0] = cv::Vec3f(-18.8f/2.f, 19.1f/2.f, 0); - this->objectRepresenation.ptr(0)[1] = cv::Vec3f(18.8f/2.f, 19.1f/2.f, 0); - this->objectRepresenation.ptr(0)[2] = cv::Vec3f(18.8f/2.f, -19.1f/2.f, 0); - this->objectRepresenation.ptr(0)[3] = cv::Vec3f(-18.8f/2.f, -19.1f/2.f, 0); + this->objectRepresenation.ptr(0)[0] = cv::Vec3f(-19.f/2.f, 19.3f/2.f, 0); + this->objectRepresenation.ptr(0)[1] = cv::Vec3f(19.f/2.f, 19.3f/2.f, 0); + this->objectRepresenation.ptr(0)[2] = cv::Vec3f(19.f/2.f, -19.3f/2.f, 0); + this->objectRepresenation.ptr(0)[3] = cv::Vec3f(-19.f/2.f, -19.3f/2.f, 0); /* this->objectRepresenation.ptr(0)[0] = cv::Vec3f(-19.5f/2.f, 19.7f/2.f, 0); this->objectRepresenation.ptr(0)[1] = cv::Vec3f(19.5f/2.f, 19.7f/2.f, 0);