I am currently using the aruco library to track fiducial markers, and I use the detect() method of the MarkerDetector
class. The detect() method takes as input the camera parameters (camera matrix, distortion coefs), the length of the marker and the image. I actually use the function cv::undistort()
to undistort the image before giving it as input to detect(). But i was asking myself if the detect()
method already undistorts the image ? Which means that i should give the raw image as input to detect(), instead of the undistorted one. I read the doc of the function, but no information is given about that.
Thank you for your answers :-)