diff --git a/modules/calib/src/calibration.cpp b/modules/calib/src/calibration.cpp index 674b4d8ac7..caf557ae7d 100644 --- a/modules/calib/src/calibration.cpp +++ b/modules/calib/src/calibration.cpp @@ -917,10 +917,6 @@ static double stereoCalibrateImpl( param[idx + 17] = dk[k][13]; } - A[0] = A[1] = Matx33d(1, 0, 0, 0, 1, 0, 0, 0, 1); - - //std::cout << "param before LM: " << Mat(param, false).t() << "\n"; - auto lmcallback = [&](InputOutputArray _param, OutputArray JtErr_, OutputArray JtJ_, double& errnorm) { Mat_ param_m = _param.getMat();