From 1d40cd6facf0e54ec46bf45a7cd66e32d3211f77 Mon Sep 17 00:00:00 2001 From: ackimixs Date: Wed, 3 Apr 2024 19:28:23 +0200 Subject: [PATCH] update lenght --- aruco/ArucoTag.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/aruco/ArucoTag.h b/aruco/ArucoTag.h index 33a8a8b..0336693 100644 --- a/aruco/ArucoTag.h +++ b/aruco/ArucoTag.h @@ -31,9 +31,9 @@ public: void setFlowerObjectRepresentation() { this->objectRepresenation = cv::Mat(4, 1, CV_32FC3); - this->objectRepresenation.ptr(0)[0] = cv::Vec3f(-19.5/2.f, 20/2.f, 0); - this->objectRepresenation.ptr(0)[1] = cv::Vec3f(19.5/2.f, 20/2.f, 0); - this->objectRepresenation.ptr(0)[2] = cv::Vec3f(19f/2.f, -20/2.f, 0); - this->objectRepresenation.ptr(0)[3] = cv::Vec3f(-19f/2.f, -20/2.f, 0); + this->objectRepresenation.ptr(0)[0] = cv::Vec3f(-19.5f/2.f, 20.f/2.f, 0); + this->objectRepresenation.ptr(0)[1] = cv::Vec3f(19.5f/2.f, 20.f/2.f, 0); + this->objectRepresenation.ptr(0)[2] = cv::Vec3f(19.f/2.f, -20.f/2.f, 0); + this->objectRepresenation.ptr(0)[3] = cv::Vec3f(-19.f/2.f, -20.f/2.f, 0); } };