docs: public synchronized void updateScore(GrayF32 image, List<Point2D_F64> sides) {
  		removePerspective.apply(image,sides.get(0),sides.get(1),sides.get(2),sides.get(3));
  
  		GrayF32 current = removePerspective.getOutput();
  		float mean = (float)ImageStatistics.mean(current);
  		PixelMath.divide(current,mean,tempImage);
  
  		PixelMath.diffAbs(tempImage,template,difference);
  		PixelMath.multiply(difference,weights,difference);
  
  		// compute score as a weighted average of the difference
  		currentScore = ImageStatistics.sum(difference)/totalWeight;
  	}