mirror of
https://github.com/opencv/opencv.git
synced 2025-08-06 14:36:36 +08:00
Enable chessboard detector test on Ubuntu
This commit is contained in:
parent
34df4ae02a
commit
c55890f637
@ -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…
Reference in New Issue
Block a user