diff --git a/aruco/ArucoDetector.cpp b/aruco/ArucoDetector.cpp index 966976f..8f9a368 100644 --- a/aruco/ArucoDetector.cpp +++ b/aruco/ArucoDetector.cpp @@ -83,8 +83,11 @@ std::pair>>> Ar } cv::Mat frame; - cam->getVideoFrame(frame, 1000); + cv::Mat frameNotRotated; + cam->getVideoFrame(frameNotRotated, 1000); // cap >> frame; // Capture frame from the camera + // TODO rotate the frame 180 degrees + cv::flip(frameNotRotated, frame, -1); std::pair>>> result;