diff --git a/aruco/ArucoDetector.cpp b/aruco/ArucoDetector.cpp index 2a5481f..1b6e59f 100644 --- a/aruco/ArucoDetector.cpp +++ b/aruco/ArucoDetector.cpp @@ -89,8 +89,8 @@ std::pair>>> Ar cv::Mat frameNotRotated; cv::Mat frameDistored; cam->getVideoFrame(frameNotRotated, 1000); - cv::flip(frameNotRotated, frame, -1); - // cv::undistort(frameDistored, frame, cameraMatrix, distCoeffs); + cv::flip(frameNotRotated, frameDistored, -1); + cv::undistort(frameDistored, frame, cameraMatrix, distCoeffs); std::pair>>> result;