Commit 851ce272 authored by berak's avatar berak
parent 70f8d807
......@@ -158,7 +158,7 @@ StereoCalib(const vector<string>& imagelist, Size boardSize, bool useCalibrated=
{
for( j = 0; j < boardSize.height; j++ )
for( k = 0; k < boardSize.width; k++ )
objectPoints[i].push_back(Point3f(j*squareSize, k*squareSize, 0));
objectPoints[i].push_back(Point3f(k*squareSize, j*squareSize, 0));
}
cout << "Running stereo calibration ...\n";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment