docs: private void configureContourDetector(T gray) {
  		// determine the maximum possible size of a square based on image size
  		int maxContourSize = Math.min(gray.width,gray.height)*4;
  		BinaryContourFinder contourFinder = squareDetector.getDetector().getContourFinder();
  		contourFinder.setMaxContour(maxContourSize);
  		contourFinder.setSaveInnerContour(false);
  	}