Ask Your Question

Revision history [back]

Hi,

I can reproduce your problem and indeed the second grid is not detected with the default method. You can use the second available method as a workaround. The code becomes like this:

findCirclesGrid(image, patternSize, centers, CALIB_CB_SYMMETRIC_GRID + CALIB_CB_CLUSTERING)

The 4x3 grid was detected in this case.

P.S. It seems to be a bug that the grid was not detected initially so please fill in a bug report at http://code.opencv.org.