I would like to know if there is a way to automatically find the pattern size for findCirclesGrid() function in opencv. I am currently using a circle grid pattern with a zoom lens camera and would like to find the distortion at all the zoom levels.
While Zooming the camera the grid circle is half visible at the edges as shown in the figure and findCirclesGrid() function doesn't work irrespective of the patternsize.