From 490f5bc71abd4f01e5772bec05210f45c28a23fc Mon Sep 17 00:00:00 2001 From: ackimixs Date: Tue, 16 Apr 2024 16:45:30 +0200 Subject: [PATCH] change calibration --- calibration.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/calibration.cpp b/calibration.cpp index a422e39..9c97cfc 100644 --- a/calibration.cpp +++ b/calibration.cpp @@ -73,10 +73,10 @@ int main(int argc, char *argv[]) // imagePoints.push_back(corners); // } - putText(imageCopy, "Press 'c' to add current frame. 'ESC' to finish and calibrate", + putText(gray, "Press 'c' to add current frame. 'ESC' to finish and calibrate", cv::Point(10, 20), cv::FONT_HERSHEY_SIMPLEX, 0.5, cv::Scalar(255, 0, 0), 2); - imshow("Video", imageCopy); + imshow("Video", gray); key = (char)cv::waitKey(500); if(key == 'c' && findChessboardCorners(gray, chessboardSize, corners)) { // Refine corner locations