  
  logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
  
  
  class Mask():
      """ This tool is part of the Faceswap Tools suite and should be called from
      ``python tools.py mask`` command.
  
      Faceswap Masks tool. Generate masks from existing alignments files, and output masks
      for preview.
 
</s> remove logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
 </s> add logger = logging.getLogger(__name__)  # pylint:disable=invalid-name </s> remove                            self._skip_count)
 </s> add                            self._counts["skip"]) </s> remove         if self._skip_count != 0:
 </s> add         if self._counts["skip"] != 0: </s> remove             A list of indices corresponding to the frame indices that should be skipped
 </s> add             A list of indices corresponding to the frame indices that should be skipped by the
            :func:`load` function. </s> remove     def _get_count_and_filelist(self, fast_count):
 </s> add     def _get_fps(self):
        """ Get the Frames per Second.

        If the input is a folder of images than 25.0 will be returned, as it is not possible to
        calculate the fps just from frames alone. For video files the correct FPS will be returned.

        Returns
        -------
        float: The Frames per Second of the input sources
        """
        if self._is_video:
            reader = imageio.get_reader(self.location, "ffmpeg")
            retval = reader.get_meta_data()["fps"]
            reader.close()
        else:
            retval = 25.0
        logger.debug(retval)
        return retval

    def _get_count_and_filelist(self, fast_count, count):
class Mask():  # pylint:disable=too-few-public-methods
  
  logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
  
  
class Mask():  # pylint:disable=too-few-public-methods
      """ This tool is part of the Faceswap Tools suite and should be called from
      ``python tools.py mask`` command.
  
      Faceswap Masks tool. Generate masks from existing alignments files, and output masks
      for preview.
keep keep keep keep replace keep keep keep keep keep
 Core Update (#995)

* lib.alignments - Add Video Meta Data methods

* lib.image - Monkey Path ImageIO for video scanning 
tools/mask/mask.py