diff --git a/src/main.cc b/src/main.cc index 343282e688a84d30a64811ab87d09f5b12e8123f..8d6f185a311a4df61be531a07157fb5e29af12d4 100755 --- a/src/main.cc +++ b/src/main.cc @@ -314,7 +314,7 @@ int main(int argc, char* argv[]) bool found; - int chessBoardFlags = CALIB_CB_ADAPTIVE_THRESH | CALIB_CB_NORMALIZE_IMAGE; + int chessBoardFlags = 0; if(!s.useFisheye) { // fast check erroneously fails with high distortions like fisheye @@ -324,7 +324,7 @@ int main(int argc, char* argv[]) switch( s.calibrationPattern ) // Find feature points on the input format { case Settings::CHESSBOARD: - found = findChessboardCorners( view, s.boardSize, pointBuf, chessBoardFlags); + found = findChessboardCornersSB( view, s.boardSize, pointBuf, chessBoardFlags); break; case Settings::CIRCLES_GRID: found = findCirclesGrid( view, s.boardSize, pointBuf );