From 6afe9c78756111b8d6bdfa66bacc8e337f4c811e Mon Sep 17 00:00:00 2001 From: ackimixs Date: Thu, 2 May 2024 16:47:51 +0200 Subject: [PATCH] calibration --- calibrationCharuco.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/calibrationCharuco.cpp b/calibrationCharuco.cpp index c927a65..ad6c456 100644 --- a/calibrationCharuco.cpp +++ b/calibrationCharuco.cpp @@ -173,13 +173,17 @@ int main(int argc, char *argv[]) { aruco::CharucoBoard::create(squaresX, squaresY, squareLength, markerLength, dictionary); Ptr board = charucoboard.staticCast(); + std::cout << "isok" << std::endl; + // collect data from each frame vector< vector< vector< Point2f > > > allCorners; vector< vector< int > > allIds; vector< Mat > allImgs; Size imgSize; - char key; + std::cout << "isok" << std::endl; + + char key = 0; while(key != 27) { Mat image, imageCopy; @@ -313,5 +317,7 @@ int main(int argc, char *argv[]) { } } + cam.stopVideo(); + return 0; } \ No newline at end of file