From 4eda856cd5685b2da3ed8f304a4d61ad537c97f2 Mon Sep 17 00:00:00 2001 From: Vadim Pisarevsky Date: Thu, 24 Jun 2010 07:56:57 +0000 Subject: [PATCH] squareSize renamed to square_size in the output xml/yml --- samples/cpp/calibration.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/cpp/calibration.cpp b/samples/cpp/calibration.cpp index f8d71e70ff..e21b2ac5b1 100644 --- a/samples/cpp/calibration.cpp +++ b/samples/cpp/calibration.cpp @@ -127,7 +127,7 @@ void saveCameraParams( const string& filename, fs << "image_height" << imageSize.height; fs << "board_width" << boardSize.width; fs << "board_height" << boardSize.height; - fs << "squareSize" << squareSize; + fs << "square_size" << squareSize; if( flags & CV_CALIB_FIX_ASPECT_RATIO ) fs << "aspectRatio" << aspectRatio;