From e5d7d9dd961e4043e701b2cee782b0fae53c1f25 Mon Sep 17 00:00:00 2001 From: Alex Bailo Date: Sat, 3 Feb 2024 13:39:09 +0100 Subject: [PATCH] wip --- McCalib/src/McCalib.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/McCalib/src/McCalib.cpp b/McCalib/src/McCalib.cpp index 058e88ba..688d30ae 100644 --- a/McCalib/src/McCalib.cpp +++ b/McCalib/src/McCalib.cpp @@ -277,12 +277,12 @@ void Calibration::detectBoardsWithCamera(const std::vector &fn, void Calibration::detectBoardsInImageWithCamera(const std::string frame_path, const int cam_idx, const int frame_idx) { - LOG_INFO << "Got here1 " + LOG_INFO << "Got here1 "; cv::Mat image = cv::imread(frame_path); // Greyscale image for subpixel refinement cv::Mat graymat; cv::cvtColor(image, graymat, cv::COLOR_BGR2GRAY); - LOG_INFO << "Got here2 " + LOG_INFO << "Got here2 "; // Datastructure to save the checkerboard corners // key == board id, value == markersIDs on MARKERS markerIds @@ -297,17 +297,17 @@ void Calibration::detectBoardsInImageWithCamera(const std::string frame_path, charuco_params_->adaptiveThreshConstant = 1; for (std::size_t i = 0; i < nb_board_; i++) { - LOG_INFO << "Got here3 " + LOG_INFO << "Got here3 "; cv::aruco::detectMarkers(image, boards_3d_[i]->charuco_board_->dictionary, marker_corners[i], marker_idx[i], charuco_params_); - LOG_INFO << "Got here4 " + LOG_INFO << "Got here4 "; if (marker_corners[i].size() > 0) { cv::aruco::interpolateCornersCharuco(marker_corners[i], marker_idx[i], image, boards_3d_[i]->charuco_board_, charuco_corners[i], charuco_idx[i]); } - LOG_INFO << "Got here5 " + LOG_INFO << "Got here5 "; if (charuco_corners[i].size() > static_cast(