any one found that in file aruco/src/cameraParameters.cpp, in this function cv::Point3f CameraParameters::getCameraLocation(cv::Mat Rvec,cv::Mat Tvec), line 103, m44.inv() should be m44 = m44.inv(), this function is to calculate the translation vector from camera to marker, so this place the m44 shoulder be its inverse matrix. But in the origin function, thr return values is the m44, but not the inverse. I download the source code of Aruco from their website, it still has this problem.
any one found that in file aruco/src/cameraParameters.cpp, in this function cv::Point3f CameraParameters::getCameraLocation(cv::Mat Rvec,cv::Mat Tvec), line 103, m44.inv() should be m44 = m44.inv(), this function is to calculate the translation vector from camera to marker, so this place the m44 shoulder be its inverse matrix. But in the origin function, thr return values is the m44, but not the inverse. I download the source code of Aruco from their website, it still has this problem.