docs: private void configureContourDetector(T gray) {
  		// determine the maximum possible size of a square when viewed head on
  		// also take in account shapes touching the edge will be concave
  		int maxContourSize = Math.max(gray.width,gray.height)/Math.max(numCols,numRows);
  		BinaryContourFinder contourFinder = detectorSquare.getDetector().getContourFinder();
  		contourFinder.setMaxContour(maxContourSize*4*2); // fisheye distortion can let one square go larger
  		contourFinder.setSaveInnerContour(false);
  	}