Enable chessboard detector test on Ubuntu

pull/7516/head
Vladislav Sovrasov 9 years ago
parent 34df4ae02a
commit c55890f637
  1. 3
      modules/calib3d/test/test_chesscorners.cpp

@ -373,8 +373,6 @@ bool CV_ChessboardDetectorTest::checkByGenerator()
{ {
bool res = true; bool res = true;
// for some reason, this test sometimes fails on Ubuntu
#if (defined __APPLE__ && defined __x86_64__) || defined _MSC_VER
//theRNG() = 0x58e6e895b9913160; //theRNG() = 0x58e6e895b9913160;
//cv::DefaultRngAuto dra; //cv::DefaultRngAuto dra;
//theRNG() = *ts->get_rng(); //theRNG() = *ts->get_rng();
@ -473,7 +471,6 @@ bool CV_ChessboardDetectorTest::checkByGenerator()
cv::drawChessboardCorners(cb, cbg.cornersSize(), Mat(corners_found), found); cv::drawChessboardCorners(cb, cbg.cornersSize(), Mat(corners_found), found);
} }
#endif
return res; return res;
} }

Loading…
Cancel
Save