mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 15:53:03 +04:00
fix bug different marker ordering with findChessboardCornersSBWithMeta and CALIB_CB_LARGER flag
This commit is contained in:
@@ -3720,10 +3720,11 @@ Chessboard::Board Chessboard::detectImpl(const Mat& gray,std::vector<cv::Mat> &f
|
||||
continue;
|
||||
}
|
||||
|
||||
iter_boards->normalizeOrientation(false);
|
||||
|
||||
if(iter_boards->getSize() == parameters.chessboard_size ||
|
||||
iter_boards->getSize() == chessboard_size2)
|
||||
{
|
||||
iter_boards->normalizeOrientation(false);
|
||||
if(iter_boards->getSize() != parameters.chessboard_size)
|
||||
{
|
||||
if(iter_boards->isCellBlack(0,0) == iter_boards->isCellBlack(0,int(iter_boards->colCount())-1))
|
||||
|
||||
Reference in New Issue
Block a user