This commit is contained in:
ackimixs
2024-04-16 16:12:31 +02:00
parent 4358d89d71
commit adcca34489

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;