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