squareSize renamed to square_size in the output xml/yml

This commit is contained in:
Vadim Pisarevsky 2010-06-24 07:56:57 +00:00
parent 35dc0de097
commit 4eda856cd5

View File

@ -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;