          with the variance of the Laplacian.
          Normalize by pixel number to offset the effect
          of image size on pixel gradients & variance
          """
          image = cv2.imread(image_file, cv2.IMREAD_GRAYSCALE)
          blur_map = cv2.Laplacian(image, cv2.CV_32F)
          score = np.var(blur_map) / np.sqrt(image.shape[0] * image.shape[1])
          return score
  
      @staticmethod
 
</s> remove     @staticmethod
    def launch_aligner(loglevel):
 </s> add     def launch_aligner(self): </s> remove             aligner = PluginLoader.get_aligner(plugin)(loglevel=loglevel)
 </s> add             aligner = PluginLoader.get_aligner(plugin)(loglevel=self.args.loglevel) </s> remove         self.launch_aligner(self.args.loglevel)
 </s> add         self.launch_aligner() </s> remove     __warning_string = "Important: face-cnn method will cause an error when "
    __warning_string += "this tool is called directly instead of through the "
    __warning_string += "tools.py command script."
    print(__warning_string)
 </s> add     __WARNING_STRING = "Important: face-cnn method will cause an error when "
    __WARNING_STRING += "this tool is called directly instead of through the "
    __WARNING_STRING += "tools.py command script."
    print(__WARNING_STRING) </s> remove def bad_args(args):
 </s> add def bad_args(args):  # pylint: disable=unused-argument
        image = cv2.imread(image_file)
        if image.ndim == 3:
            image = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)
          with the variance of the Laplacian.
          Normalize by pixel number to offset the effect
          of image size on pixel gradients & variance
          """
        image = cv2.imread(image_file)
        if image.ndim == 3:
            image = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)
          blur_map = cv2.Laplacian(image, cv2.CV_32F)
          score = np.var(blur_map) / np.sqrt(image.shape[0] * image.shape[1])
          return score
  
      @staticmethod
keep keep keep keep replace keep keep keep keep keep
 Sort tool. Image grayscale conversion bugfix 
tools/sort.py