squareSize renamed to square_size in the output xml/yml

pull/13383/head
Vadim Pisarevsky 15 years ago
parent 35dc0de097
commit 4eda856cd5
  1. 2
      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;

Loading…
Cancel
Save