title: Finding CheckerBoard Points in opencv for any random ChessBoard( pattern size not known)
body: <p>Well, OpenCv comes with its function findCheckerboardCorners() in C++ which goes like</p>
  
  <pre><code>bool findChessboardCorners(InputArray image, Size patternSize, 
  OutputArray corners, 
  int flags=CALIB_CB_ADAPTIVE_THRESH+CALIB_CB_NORMALIZE_IMAGE )
  </code></pre>
  
  <p>After using this function for a while, one thing that i understood was that the pattern size must comply with the image to a very good extent, else the algorithm refuses to detect any Chessboard altogether. I was wondering if there were any random image of a chessboard, this function would fail as it is impractical to enter the precise values of the patternSize. Is there a way, the patternSize for this function could be obtained from the image provided. Any help would be appreciated. Thanks.</p>