Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Ah, as usual, user error.

I was passing the number of squares in the format that findChessboard needs, using the inner corners.

`cv::Ptr<cv::aruco::charucoboard> board = cv::aruco::CharucoBoard::create(7, 5, 0.04f, 0.02f, dictionary);'

or indeed any chAruco board, needs the actual number of squares, in this case, 8 x 6.

click to hide/show revision 2
No.2 Revision

Ah, as usual, user error.

I was passing the number of squares in the format that findChessboard needs, using the inner corners.

`cv::Ptr<cv::aruco::charucoboard>

cv::Ptr<cv::aruco::CharucoBoard> board = cv::aruco::CharucoBoard::create(7, 5, 0.04f, 0.02f, dictionary);'

dictionary);

or indeed any chAruco board, needs the actual number of squares, in this case, 8 x 6.