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);