normally work

This commit is contained in:
ackimixs
2024-04-16 17:39:53 +02:00
parent 7b85f7fd08
commit 4e926f0cdd

View File

@@ -89,8 +89,8 @@ std::pair<int, std::vector<std::pair<ArucoTag, std::pair<cv::Mat, cv::Mat>>>> Ar
cv::Mat frameNotRotated;
cv::Mat frameDistored;
cam->getVideoFrame(frameNotRotated, 1000);
cv::flip(frameNotRotated, frameDistored, -1);
cv::undistort(frameDistored, frame, cameraMatrix, distCoeffs);
cv::flip(frameNotRotated, frame, -1);
// cv::undistort(frameDistored, frame, cameraMatrix, distCoeffs);
std::pair<int, std::vector<std::pair<ArucoTag, std::pair<cv::Mat, cv::Mat>>>> result;